Part Number Hot Search : 
MBR101 MMSZ52 NE612A MN1227 CBT162 UZ10BS MBD444 FH24N50
Product Description
Full Text Search
 

To Download P80C51 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
   

8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra + 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33 mhz) product specification replaces datasheet 8xc52/54/58/80c32 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra + of 1999 apr 01 2000 aug 07 integrated circuits
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33 mhz) 2 2000 aug 07 853-2068 24292 description three different single-chip 8-bit microcontroller families are presented in this datasheet: ? 8xc54/8xc58 ? 80c51fa/8xc51fa/8xc51fb/8xc51fc ? 80c51ra+/8xc51ra+/8xc51rb+/8xc51rc+/8xc51rd+ for applications requiring 4k rom/eprom, see the 8xc51/80c31 8-bit cmos (low voltage, low power, and high speed) microcontroller families datasheet. all the families are single-chip 8-bit microcontrollers manufactured in advanced cmos process and are derivatives of the 80c51 microcontroller family. all the devices have the same instruction set as the 80c51. these devices provide architectural enhancements that make them applicable in a variety of applications for general control systems. rom/eprom memory size (x by 8) ram size (x by 8) programmable timer counter (pca) hardware watch dog timer 80c31/8xc51 0k/4k 128 no no 8xc54/58 0k/8k/16k/32k 256 no no 80c51fa/8xc51fa/fb/fc 0k/8k/16k/32k 256 yes no 80c51ra+/8xc51ra+/rb+/rc+ 0k/8k/16k/32k 512 yes yes 8xc51rd+ 64k 1024 yes yes the romless devices, 80c51fa, and 80c51ra+ can address up to 64k of external memory. all the devices have four 8-bit i/o ports, three 16-bit timer/event counters, a multi-source, four-priority-level, nested interrupt structure, an enhanced uart and on-chip oscillator and timing circuits. for systems that require extra memory capability up to 64k bytes, each can be expanded using standard ttl-compatible memories and logic. its added features make it an even more powerful microcontroller for applications that require pulse width modulation, high-speed i/o and up/down counting capabilities such as motor control. it also has a more versatile serial channel that facilitates multiprocessor communications. features ? 80c51 central processing unit ? speed up to 33 mhz ? full static operation ? operating voltage range: 2.7 v to 5.5 v @ 16 mhz ? security bits: rom 2 bits otpeprom 3 bits ? encryption array 64 bytes ? ram expandable to 64k bytes ? 4 level priority interrupt ? 6 or7 interrupt sources, depending on device ? four 8-bit i/o ports ? full-duplex enhanced uart framing error detection automatic address recognition ? power control modes clock can be stopped and resumed idle mode power down mode ? programmable clock out ? second dptr register ? asynchronous port reset ? low emi (inhibit ale)
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33 mhz) 2000 aug 07 3 block diagram psen ea v pp ale/prog rst xtal1 xtal2 v cc v ss port 0 drivers port 2 drivers ram addr register ram port 0 latch port 2 latch rom/eprom register b acc stack pointer tmp2 tmp1 alu timing and control instruction register pd oscillator psw port 1 latch port 3 latch port 1 drivers port 3 drivers program address register buffer pc incre- menter program counter dptr's multiple p1.0p1.7 p3.0p3.7 p0.0p0.7 p2.0p2.7 sfrs timers p.c.a. (fa & ra+ only) su00831b 8 8 16
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33 mhz) 2000 aug 07 4 logic symbol port 0 port 1 port 2 port 3 address and data bus address bus t2 t2ex rxd txd int0 int1 t0 t1 wr rd secondary functions rst ea /v pp psen ale/prog v ss v cc xtal1 xtal2 su00830 pin configurations dual in-line package pin functions 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 t2/p1.0 t2ex/p1.1 eci/p1.2 cex0/p1.3 cex1/p1.4 cex2/p1.5 cex3/p1.6 rst rxd/p3.0 txd/p3.1 int0 /p3.2 int1 /p3.3 t0/p3.4 t1/p3.5 cex4/p1.7 wr /p3.6 rd /p3.7 xtal2 xtal1 v ss p2.0/a8 p2.1/a9 p2.2/a10 p2.3/a11 p2.4/a12 p2.5/a13 p2.6/a14 p2.7/a15 psen ale/prog ea /v pp p0.7/ad7 p0.6/ad6 p0.5/ad5 p0.4/ad4 p0.3/ad3 p0.2/ad2 p0.1/ad1 p0.0/ad0 v cc dual in-line package su00021 plastic leaded chip carrier pin functions lcc 6140 7 17 39 29 18 28 pin function 1 nic* 2 p1.0/t2 3 p1.1/t2ex 4 p1.2/eci 5 p1.3/cex0 6 p1.4/cex1 7 p1.5/cex2 8 p1.6/cex3 9 p1.7/cex4 10 rst 11 p3.0/rxd 12 nic* 13 p3.1/txd 14 p3.2/int0 15 p3.3/int1 pin function 16 p3.4/t0 17 p3.5/t1 18 p3.6/wr 19 p3.7/rd 20 xtal2 21 xtal1 22 v ss 23 nic* 24 p2.0/a8 25 p2.1/a9 26 p2.2/a10 27 p2.3/a11 28 p2.4/a12 29 p2.5/a13 30 p2.6/a14 pin function 31 p2.7/a15 32 psen 33 ale/prog 34 nic* 35 ea /v pp 36 p0.7/ad7 37 p0.6/ad6 38 p0.5/ad5 39 p0.4/ad4 40 p0.3/ad3 41 p0.2/ad2 42 p0.1/ad1 43 p0.0/ad0 44 v cc su00023 * no internal connection plastic quad flat pack pin functions pqfp 44 34 1 11 33 23 12 22 pin function 1 p1.5/cex2 2 p1.6/cex3 3 p1.7/cex4 4 rst 5 p3.0/rxd 6 nic* 7 p3.1/txd 8 p3.2/int0 9 p3.3/int1 10 p3.4/t0 11 p3.5/t1 12 p3.6/wr 13 p3.7/rd 14 xtal2 15 xtal1 pin function 16 v ss 17 nic* 18 p2.0/a8 19 p2.1/a9 20 p2.2/a10 21 p2.3/a11 22 p2.4/a12 23 p2.5/a13 24 p2.6/a14 25 p2.7/a15 26 psen 27 ale/prog 28 nic* 29 ea /v pp 30 p0.7/ad7 pin function 31 p0.6/ad6 32 p0.5/ad5 33 p0.4/ad4 34 p0.3/ad3 35 p0.2/ad2 36 p0.1/ad1 37 p0.0/ad0 38 v cc 39 nic* 40 p1.0/t2 41 p1.1/t2ex 42 p1.2/eci 43 p1.3/cex0 44 p1.4/cex1 su00024 * no internal connection
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33 mhz) 2000 aug 07 5 pin descriptions pin number mnemonic dip lcc qfp type name and function v ss 20 22 16 i ground: 0 v reference. v cc 40 44 38 i power supply: this is the power supply voltage for normal, idle, and power-down operation. p0.00.7 3932 4336 3730 i/o port 0: port 0 is an open-drain, bidirectional i/o port. port 0 pins that have 1s written to them float and can be used as high-impedance inputs. port 0 is also the multiplexed low-order address and data bus during accesses to external program and data memory. in this application, it uses strong internal pull-ups when emitting 1s. port 0 also outputs the code bytes during program verification and received code bytes during eprom programming. external pull-ups are required during program verification. p1.0p1.7 18 29 4044, 13 i/o port 1: port 1 is an 8-bit bidirectional i/o port with internal pull-ups. port 1 pins that have 1s written to them are pulled high by the internal pull-ups and can be used as inputs. as inputs, port 1 pins that are externally pulled low will source current because of the internal pull-ups. (see dc electrical characteristics: i il ). port 1 also receives the low-order address byte during program memory verification. alternate functions for 8xc51fx and 8xc51rx+ port 1 include: 1 2 40 i/o t2 (p1.0): timer/counter 2 external count input/clockout (see programmable clock-out) 2 3 41 i t2ex (p1.1): timer/counter 2 reload/capture/direction control 3 4 42 i eci (p1.2): external clock input to the pca 4 5 43 i/o cex0 (p1.3): capture/compare external i/o for pca module 0 5 6 44 i/o cex1 (p1.4): capture/compare external i/o for pca module 1 6 7 1 i/o cex2 (p1.5): capture/compare external i/o for pca module 2 7 8 2 i/o cex3 (p1.6): capture/compare external i/o for pca module 3 8 9 3 i/o cex4 (p1.7): capture/compare external i/o for pca module 4 p2.0p2.7 2128 2431 1825 i/o port 2: port 2 is an 8-bit bidirectional i/o port with internal pull-ups. port 2 pins that have 1s written to them are pulled high by the internal pull-ups and can be used as inputs. as inputs, port 2 pins that are externally being pulled low will source current because of the internal pull-ups. (see dc electrical characteristics: i il ). port 2 emits the high-order address byte during fetches from external program memory and during accesses to external data memory that use 16-bit addresses (movx @dptr). in this application, it uses strong internal pull-ups when emitting 1s. during accesses to external data memory that use 8-bit addresses (mov @ri), port 2 emits the contents of the p2 special function register. some port 2 pins receive the high order address bits during eprom programming and verification. p3.0p3.7 1017 11, 1319 5, 713 i/o port 3: port 3 is an 8-bit bidirectional i/o port with internal pull-ups. port 3 pins that have 1s written to them are pulled high by the internal pull-ups and can be used as inputs. as inputs, port 3 pins that are externally being pulled low will source current because of the pull-ups. (see dc electrical characteristics: i il ). port 3 also serves the special features of the 80c51 family, as listed below: 10 11 5 i rxd (p3.0): serial input port 11 13 7 o txd (p3.1): serial output port 12 14 8 i int0 (p3.2): external interrupt 13 15 9 i int1 (p3.3): external interrupt 14 16 10 i t0 (p3.4): timer 0 external input 15 17 11 i t1 (p3.5): timer 1 external input 16 18 12 o wr (p3.6): external data memory write strobe 17 19 13 o rd (p3.7): external data memory read strobe rst 9 10 4 i reset: a high on this pin for two machine cycles while the oscillator is running, resets the device. an internal diffused resistor to v ss permits a power-on reset using only an external capacitor to v cc . ale/prog 30 33 27 o address latch enable/program pulse: output pulse for latching the low byte of the address during an access to external memory. in normal operation, ale is emitted at a constant rate of 1/6 the oscillator frequency, and can be used for external timing or clocking. note that one ale pulse is skipped during each access to external data memory. this pin is also the program pulse input (prog ) during eprom programming. ale can be disabled by setting sfr auxiliary.0. with this bit set, ale will be active only during a movx instruction.
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33 mhz) 2000 aug 07 6 pin descriptions (continued) pin number mnemonic dip lcc qfp type name and function psen 29 32 26 o program store enable: the read strobe to external program memory. when executing code from the external program memory, psen is activated twice each machine cycle, except that two psen activations are skipped during each access to external data memory. psen is not activated during fetches from internal program memory. ea /v pp 31 35 29 i external access enable/programming supply voltage: ea must be externally held low to enable the device to fetch code from external program memory locations starting with 0000h. if ea is held high, the device executes from internal program memory unless the program counter contains an address greater than 8k devices (ifffh), 16k devices (3fffh) or 32k devices (7fffh). since the rd+ has 64k internal memory, the rd+ will execute only from internal memory when ea is held high. this pin also receives the 12.75 v programming supply voltage (v pp ) during eprom programming. if security bit 1 is programmed, ea will be internally latched on reset. xtal1 19 21 15 i crystal 1: input to the inverting oscillator amplifier and input to the internal clock generator circuits. xtal2 18 20 14 o crystal 2: output from the inverting oscillator amplifier. note: to avoid alatch-upo effect at power-on, the voltage on any pin at any time must not be higher than v cc + 0.5 v or v ss 0.5 v, respectively.
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33 mhz) 2000 aug 07 7 8xc54/58 ordering information memory size 16k 8 memory size 32k 8 temperature range c and package voltage range freq. (mhz) dwg. # rom p80c54sbpn p80c58sbpn 0 to +70 plastic dual in line package 2.7 v to 0to16 sot129 1 otp p87c54sbpn p87c58sbpn 0 to + 70 , plastic d u al in - line package 5.5 v 0 to 16 sot129 - 1 rom p80c54sbaa p80c58sbaa 0 to +70 plastic leaded chi p carrier 2.7 v to 0to16 sot187 2 otp p87c54sbaa p87c58sbaa 0 to + 70 , plastic leaded chip carrier 5.5 v 0 to 16 sot187 - 2 rom p80c54sbbb p80c58sbbb 0 to +70 plastic quad flat pack 2.7 v to 0to16 sot307 2 otp p87c54sbbb p87c58sbbb 0 to + 70 , plastic q u ad flat pack 5.5 v 0 to 16 sot307 - 2 rom p80c54sfp n p80c58sfp n 40 to +85 plastic dual in line package 2.7 v to 0to16 sot129 1 otp p87c54sfp n p87c58sfp n 40 to + 85 , plastic d u al in - line package 5.5 v 0 to 16 sot129 - 1 rom p80c54sfa a p80c58sfa a 40 to +85 plastic leaded chi p carrier 2.7 v to 0to16 sot187 2 otp p87c54sfa a p87c58sfa a 40 to + 85 , plastic leaded chip carrier 5.5 v 0 to 16 sot187 - 2 rom p80c54sfb b p80c58sfb b 40 to +85 plastic quad flat pack 2.7 v to 0to16 sot307 2 otp p87c54sfb b p87c58sfb b 40 to + 85 , plastic q u ad flat pack 5.5 v 0 to 16 sot307 - 2 rom p80c54ubaa p80c58ubaa 0 to +70 plastic leaded chi p carrier 5v 0to33 sot187 2 otp p87c54ubaa p87c58ubaa 0 to + 70 , plastic leaded chip carrier 5 v 0 to 33 sot187 - 2 rom p80c54ubpn p80c58ubpn 0 to +70 plastic dual in line package 5v 0to33 sot129 1 otp p87c54ubpn p87c58ubpn 0 to + 70 , plastic d u al in - line package 5 v 0 to 33 sot129 - 1 rom p80c54ubbb p80c58ubbb 0 to +70 plastic quad flat pack 5v 0to33 sot307 2 otp p87c54ubbb p87c58ubbb 0 to + 70 , plastic q u ad flat pack 5 v 0 to 33 sot307 - 2 rom p80c54ufa a p80c58ufa a 40 to +85 plastic leaded chi p carrier 5v 0to33 sot187 2 otp p87c54ufa a p87c58ufa a 40 to + 85 , plastic leaded chip carrier 5 v 0 to 33 sot187 - 2 rom p80c54ufpn p80c58ufpn 40 to +85 plastic dual in line package 5v 0to33 sot129 1 otp p87c54ufpn p87c58ufpn 40 to + 85 , plastic d u al in - line package 5 v 0 to 33 sot129 - 1 rom p80c54ufbb p80c58ufbb 40 to +85 plastic quad flat pack 5v 0to33 sot307 2 otp p87c54ufbb p87c58ufbb 40 to + 85 , plastic q u ad flat pack 5 v 0 to 33 sot307 - 2 note: for multi time programmable devices, see p89c51rx+ flash datasheet.
80c51 8-bit microcontroller family philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 8 2000 aug 07 8xc51fa/fb/fc and 80c51fa ordering information memory size 8k 8 memory size 16k 8 memory size 32k 8 romless temperature range c and package voltage range freq. (mhz) dwg. # rom p83c51fa4n p83c51fb4n p83c51fc4n P80C51fa 4n 0 to +70 40 pin plastic dual in line pkg 27vto55v 0to16 sot129 1 otp p87c51fa4n p87c51fb4n p87c51fc4n P80C51fa 4n 0 to + 70 , 40 - pin plastic d u al in - line pkg . 2 . 7v to 5 . 5v 0 to 16 sot129 - 1 rom p83c51fa4a p83c51fb4a p83c51fc4a P80C51fa 4a 0 to +70 44 pin plastic leaded chi p carrier 27vto55v 0to16 sot187 2 otp p87c51fa4a p87c51fb4a p87c51fc4a P80C51fa 4a 0 to + 70 , 44 - pin plastic leaded chip carrier 2 . 7v to 5 . 5v 0 to 16 sot187 - 2 rom p83c51fa4b p83c51fb4b p83c51fc4b P80C51fa 4b 0 to +70 44 pin plastic quad flat pack 27vto55v 0to16 sot307 2 otp p87c51fa4b p87c51fb4b p87c51fc4b P80C51fa 4b 0 to + 70 , 44 - pin plastic q u ad flat pack 2 . 7v to 5 . 5v 0 to 16 sot307 - 2 rom p83c51fa5n p83c51fb5n p83c51fc5n P80C51fa 5n 40 to +85 40 pin plastic dual in line pkg 27vto55v 0to16 sot129 1 otp p87c51fa5n p87c51fb5n p87c51fc5n P80C51fa 5n 40 to + 85 , 40 - pin plastic d u al in - line pkg . 2 . 7v to 5 . 5v 0 to 16 sot129 - 1 rom p83c51fa5a p83c51fb5a p83c51fc5a P80C51fa 5a 40 to +85 44 pin plastic leaded chi p carrier 27vto55v 0to16 sot187 2 otp p87c51fa5a p87c51fb5a p87c51fc5a P80C51fa 5a 40 to + 85 , 44 - pin plastic leaded chip carrier 2 . 7v to 5 . 5v 0 to 16 sot187 - 2 rom p83c51fa5b p83c51fb5b p83c51fc5b P80C51fa 5b 40 to +85 44 pin plastic quad flat pack 27vto55v 0to16 sot307 2 otp p87c51fa5b p87c51fb5b p87c51fc5b P80C51fa 5b 40 to + 85 , 44 - pin plastic q u ad flat pack 2 . 7v to 5 . 5v 0 to 16 sot307 - 2 rom p83c51fain p83c51fbin p83c51fcin P80C51fa in 0 to +70 40 pin plastic dual in line pkg 5v 0to33 sot129 1 otp p87c51fain p87c51fbin p87c51fcin P80C51fa in 0 to + 70 , 40 - pin plastic d u al in - line pkg . 5v 0 to 33 sot129 - 1 rom p83c51faia p83c51fbia p83c51fcia P80C51fa ia 0 to +70 44 pin plastic leaded chi p carrier 5v 0to33 sot187 2 otp p87c51faia p87c51fbia p87c51fcia P80C51fa ia 0 to + 70 , 44 - pin plastic leaded chip carrier 5v 0 to 33 sot187 - 2 rom p83c51faib p83c51fbib p83c51fcib P80C51fa ib 0 to +70 44 pin plastic quad flat pack 5v 0to33 sot307 2 otp p87c51faib p87c51fbib p87c51fcib P80C51fa ib 0 to + 70 , 44 - pin plastic q u ad flat pack 5v 0 to 33 sot307 - 2 rom p83c51fajn p83c51fbjn p83c51fcjn P80C51fa jn 40 to +85 40 pin plastic dual in line pkg 5v 0to33 sot129 1 otp p87c51fajn p87c51fbjn p87c51fcjn P80C51fa jn 40 to + 85 , 40 - pin plastic d u al in - line pkg . 5v 0 to 33 sot129 - 1 rom p83c51faja p83c51fbja p83c51fcja P80C51fa ja 40 to +85 44 pin plastic leaded chi p carrier 5v 0to33 sot187 2 otp p87c51faja p87c51fbja p87c51fcja P80C51fa ja 40 to + 85 , 44 - pin plastic leaded chip carrier 5v 0 to 33 sot187 - 2 rom p83c51fajb p83c51fbjb p83c51fcjb P80C51fa jb 40 to +85 44 pin plastic quad flat pack 5v 0to33 sot307 2 otp p87c51fajb p87c51fbjb p87c51fcjb P80C51fa jb 40 to + 85 , 44 - pin plastic q u ad flat pack 5v 0 to 33 sot307 - 2 note: for multi time programmable devices, see p89c51rx+ flash datasheet.
80c51 8-bit microcontroller family philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 9 2000 aug 07 87c51ra+/rb+/rc+/rd+ and 80c51ra+ ordering information memory size 8k 8 memory size 16k 8 memory size 32k 8 memory size 64k 8 romless temperature range c and package voltage range freq. (mhz) dwg. # rom p83c51ra+4n p83c51rb+4n p83c51rc+4n p83c51rd+4n P80C51ra+4n 0 to +70, 27vto55v 0to16 sot129 1 otp p87c51ra+4n p87c51rb+4n p87c51rc+4n p87c51rd+4n P80C51ra + 4n , 40-pin plastic dual in-line pkg. 2 . 7v to 5 . 5v 0 to 16 sot129 - 1 rom p83c51ra+4a p83c51rb+4a p83c51rc+4a p83c51rd+4a P80C51ra+4a 0 to +70, 27vto55v 0to16 sot187 2 otp p87c51ra+4a p87c51rb+4a p87c51rc+4a p87c51rd+4a P80C51ra + 4a , 44-pin plastic leaded chip carrier 2 . 7v to 5 . 5v 0 to 16 sot187 - 2 rom p83c51ra+4b p83c51rb+4b p83c51rc+4b p83c51rd+4b P80C51ra+4b 0 to +70, 27vto55v 0to16 sot307 2 otp p87c51ra+4b p87c51rb+4b p87c51rc+4b p87c51rd+4b P80C51ra + 4b , 44-pin plastic quad flat pack 2 . 7v to 5 . 5v 0 to 16 sot307 - 2 rom p83c51ra+5n p83c51rb+5n p83c51rc+5n p83c51rd+5n P80C51ra+5n 40 to +85, 27vto55v 0to16 sot129 1 otp p87c51ra+5n p87c51rb+5n p87c51rc+5n p87c51rd+5n P80C51ra + 5n , 40-pin plastic dual in-line pkg. 2 . 7v to 5 . 5v 0 to 16 sot129 - 1 rom p83c51ra+5a p83c51rb+5a p83c51rc+5a p83c51rd+5a P80C51ra+5a 40 to +85, 27vto55v 0to16 sot187 2 otp p87c51ra+5a p87c51rb+5a p87c51rc+5a p87c51rd+5a P80C51ra + 5a , 44-pin plastic leaded chip carrier 2 . 7v to 5 . 5v 0 to 16 sot187 - 2 rom p83c51ra+5b p83c51rb+5b p83c51rc+5b p83c51rd+5b P80C51ra+5b 40 to +85, 27vto55v 0to16 sot307 2 otp p87c51ra+5b p87c51rb+5b p87c51rc+5b p87c51rd+5b P80C51ra + 5b , 44-pin plastic quad flat pack 2 . 7v to 5 . 5v 0 to 16 sot307 - 2 rom p83c51ra+in p83c51rb+in p83c51rc+in p83c51rd+in P80C51ra+in 0 to +70, 5v 0to33 sot129 1 otp p87c51ra+in p87c51rb+in p87c51rc+in p87c51rd+in P80C51ra + in , 40-pin plastic dual in-line pkg. 5v 0 to 33 sot129 - 1 rom p83c51ra+ia p83c51rb+ia p83c51rc+ia p83c51rd+ia P80C51ra+ia 0 to +70, 5v 0to33 sot187 2 otp p87c51ra+ia p87c51rb+ia p87c51rc+ia p87c51rd+ia P80C51ra + ia , 44-pin plastic leaded chip carrier 5v 0 to 33 sot187 - 2 rom p83c51ra+ib p83c51rb+ib p83c51rc+ib p83c51rd+ib P80C51ra+ib 0 to +70, 5v 0to33 sot307 2 otp p87c51ra+ib p87c51rb+ib p87c51rc+ib p87c51rd+ib P80C51ra + ib , 44-pin plastic quad flat pack 5v 0 to 33 sot307 - 2 rom p83c51ra+jn p83c51rb+jn p83c51rc+jn p83c51rd+jn P80C51ra+jn 40 to +85, 5v 0to33 sot129 1 otp p87c51ra+jn p87c51rb+jn p87c51rc+jn p87c51rd+jn P80C51ra + jn , 40-pin plastic dual in-line pkg. 5v 0 to 33 sot129 - 1 rom p83c51ra+ja p83c51rb+ja p83c51rc+ja p83c51rd+ja P80C51ra+ja 40 to +85, 5v 0to33 sot187 2 otp p87c51ra+ja p87c51rb+ja p87c51rc+ja p87c51rd+ja P80C51ra + ja , 44-pin plastic leaded chip carrier 5v 0 to 33 sot187 - 2 rom p83c51ra+jb p83c51rb+jb p83c51rc+jb p83c51rd+jb P80C51ra+jb 40 to +85, 5v 0to33 sot307-2 otp p87c51ra+jb p87c51rb+jb p87c51rc+jb p87c51rd+jb P80C51ra+jb , 44-pin plastic quad flat pack 5v 0 to 33 sot307 - 2 note: for multi time programmable devices, see p89c51rx+ flash datasheet.
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 10 table 1. 8xc54/58 special function registers symbol description direct address bit address, symbol, or alternative port function msb lsb reset value acc* accumulator e0h e7 e6 e5 e4 e3 e2 e1 e0 00h auxr# auxiliary 8eh ao xxxxxxx0b auxr1# auxiliary 1 a2h lpep 3 gf3 0 dps xxx0xxx0b b* b register f0h f7 f6 f5 f4 f3 f2 f1 f0 00h dptr: data pointer (2 bytes) dph data pointer high 83h 00h dpl data pointer low 82h 00h af ae ad ac ab aa a9 a8 ie* interrupt enable a8h ea et2 es et1 ex1 et0 ex0 0x000000b bf be bd bc bb ba b9 b8 ip* interrupt priority b8h pt2 ps pt1 px1 pt0 px0 xx000000b b7 b6 b5 b4 b3 b2 b1 b0 iph# interrupt priority high b7h pt2h psh pt1h px1h pt0h px0h xx000000b 87 86 85 84 83 82 81 80 p0* port 0 80h ad7 ad6 ad5 ad4 ad3 ad2 ad1 ad0 ffh 97 96 95 94 93 92 91 90 p1* port 1 90h t2ex t2 ffh a7 a6 a5 a4 a3 a2 a1 a0 p2* port 2 a0h ad15 ad14 ad13 ad12 ad11 ad10 ad9 ad8 ffh b7 b6 b5 b4 b3 b2 b1 b0 p3* port 3 b0h rd wr t1 t0 int1 int0 txd rxd ffh pcon# 1 power control 87h smod1 smod0 pof 2 gf1 gf0 pd idl 00xx0000b d7 d6 d5 d4 d3 d2 d1 d0 psw* program status word d0h cy ac f0 rs1 rs0 ov p 000000x0b rcap2h # timer 2 capture high cbh 00h rcap2l # timer 2 capture low cah 00h saddr# slave address a9h 00h saden# slave address mask b9h 00h sbuf serial data buffer 99h xxxxxxxxb 9f 9e 9d 9c 9b 9a 99 98 scon* serial control 98h sm0/fe sm1 sm2 ren tb8 rb8 ti ri 00h sp stack pointer 81h 07h 8f 8e 8d 8c 8b 8a 89 88 tcon* timer control 88h tf1 tr1 tf0 tr0 ie1 it1 ie0 it0 00h cf ce cd cc cb ca c9 c8 t2con* timer 2 control c8h tf2 exf2 rclk tclk exen2 tr2 c/t2 cp/rl2 00h t2mod# timer 2 mode control c9h t2oe dcen xxxxxx00b th0 timer high 0 8ch 00h th1 timer high 1 8dh 00h th2# timer high 2 cdh 00h tl0 timer low 0 8ah 00h tl1 timer low 1 8bh 00h tl2# timer low 2 cch 00h tmod timer mode 89h gate c/t m1 m0 gate c/t m1 m0 00h * sfrs are bit addressable. # sfrs are modified from or added to the 80c51 sfrs. reserved bits. 1. reset value depends on reset source. 2. bit will not be affected by reset. 3. lpep low power otpeprom only operation.
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 11 table 2. 8xc51fa/fb/fc, 8xc51ra+/rb+/rc+/rd+ special function registers symbol description direct address bit address, symbol, or alternative port function msb lsb reset value acc* accumulator e0h e7 e6 e5 e4 e3 e2 e1 e0 00h auxr# auxiliary 8eh extram (rx+ only) ao xxxxxx00b auxr1# auxiliary 1 a2h lpep 3 gf3 0 dps xxx0xxx0b b* b register f0h f7 f6 f5 f4 f3 f2 f1 f0 00h ccap0h# module 0 capture high fah xxxxxxxxb ccap1h# module 1 capture high fbh xxxxxxxxb ccap2h# module 2 capture high fch xxxxxxxxb ccap3h# module 3 capture high fdh xxxxxxxxb ccap4h# module 4 capture high feh xxxxxxxxb ccap0l# module 0 capture low eah xxxxxxxxb ccap1l# module 1 capture low ebh xxxxxxxxb ccap2l# module 2 capture low ech xxxxxxxxb ccap3l# module 3 capture low edh xxxxxxxxb ccap4l# module 4 capture low eeh xxxxxxxxb ccapm0# module 0 mode dah ecom capp capn mat tog pwm eccf x0000000b ccapm1# module 1 mode dbh ecom capp capn mat tog pwm eccf x0000000b ccapm2# module 2 mode dch ecom capp capn mat tog pwm eccf x0000000b ccapm3# module 3 mode ddh ecom capp capn mat tog pwm eccf x0000000b ccapm4# module 4 mode deh ecom capp capn mat tog pwm eccf x0000000b df de dd dc db da d9 d8 ccon*# pca counter control d8h cf cr ccf4 ccf3 ccf2 ccf1 ccf0 00x00000b ch# pca counter high f9h 00h cl# pca counter low e9h 00h cmod# pca counter mode d9h cidl wdte cps1 cps0 ecf 00xxx000b dptr: data pointer (2 bytes) dph data pointer high 83h 00h dpl data pointer low 82h 00h af ae ad ac ab aa a9 a8 ie* interrupt enable a8h ea ec et2 es et1 ex1 et0 ex0 00h bf be bd bc bb ba b9 b8 ip* interrupt priority b8h ppc pt2 ps pt1 px1 pt0 px0 x0000000b b7 b6 b5 b4 b3 b2 b1 b0 iph# interrupt priority high b7h ppch pt2h psh pt1h px1h pt0h px0h x0000000b 87 86 85 84 83 82 81 80 p0* port 0 80h ad7 ad6 ad5 ad4 ad3 ad2 ad1 ad0 ffh 97 96 95 94 93 92 91 90 p1* port 1 90h cex4 cex3 cex2 cex1 cex0 eci t2ex t2 ffh a7 a6 a5 a4 a3 a2 a1 a0 p2* port 2 a0h ad15 ad14 ad13 ad12 ad11 ad10 ad9 ad8 ffh b7 b6 b5 b4 b3 b2 b1 b0 p3* port 3 b0h rd wr t1 t0 int1 int0 txd rxd ffh pcon# 1 power control 87h smod1 smod0 pof 2 gf1 gf0 pd idl 00xx0000b * sfrs are bit addressable. # sfrs are modified from or added to the 80c51 sfrs. reserved bits. 1. reset value depends on reset source. 2. bit will not be affected by reset. 3. lpep low power otpeprom only operation.
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 12 table 2. 8xc51fa/fb/fc, 8xc51ra+/rb+/rc+/rd+ special function registers (continued) symbol description direct address bit address, symbol, or alternative port function msb lsb reset value d7 d6 d5 d4 d3 d2 d1 d0 psw* program status word d0h cy ac f0 rs1 rs0 ov p 000000x0b racap2h # timer 2 capture high cbh 00h racap2l # timer 2 capture low cah 00h saddr# slave address a9h 00h saden# slave address mask b9h 00h sbuf serial data buffer 99h xxxxxxxxb 9f 9e 9d 9c 9b 9a 99 98 scon* serial control 98h sm0/fe sm1 sm2 ren tb8 rb8 ti ri 00h sp stack pointer 81h 07h 8f 8e 8d 8c 8b 8a 89 88 tcon* timer control 88h tf1 tr1 tf0 tr0 ie1 it1 ie0 it0 00h cf ce cd cc cb ca c9 c8 t2con* timer 2 control c8h tf2 exf2 rclk tclk exen2 tr2 c/t2 cp/rl2 00h t2mod# timer 2 mode control c9h t2oe dcen xxxxxx00b th0 timer high 0 8ch 00h th1 timer high 1 8dh 00h th2# timer high 2 cdh 00h tl0 timer low 0 8ah 00h tl1 timer low 1 8bh 00h tl2# timer low 2 cch 00h tmod timer mode 89h gate c/t m1 m0 gate c/t m1 m0 00h wdtrst hdw watchdog timer reset (rx+ only) 0a6h * sfrs are bit addressable. # sfrs are modified from or added to the 80c51 sfrs. reserved bits. oscillator characteristics xtal1 and xtal2 are the input and output, respectively, of an inverting amplifier. the pins can be configured for use as an on-chip oscillator. to drive the device from an external clock source, xtal1 should be driven while xtal2 is left unconnected. there are no requirements on the duty cycle of the external clock signal, because the input to the internal clock circuitry is through a divide-by-two flip-flop. however, minimum and maximum high and low times specified in the data sheet must be observed. reset a reset is accomplished by holding the rst pin high for at least two machine cycles (24 oscillator periods), while the oscillator is running. to insure a good power-on reset, the rst pin must be high long enough to allow the oscillator time to start up (normally a few milliseconds) plus two machine cycles. at power-on, the voltage on v cc and rst must come up at the same time for a proper start-up. ports 1, 2, and 3 will asynchronously be driven to their reset condition when a voltage above v ih1 (min.) is applied to reset.
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 13 low power modes stop clock mode the static design enables the clock speed to be reduced down to 0 mhz (stopped). when the oscillator is stopped, the ram and special function registers retain their values. this mode allows step-by-step utilization and permits reduced system power consumption by lowering the clock frequency down to any value. for lowest power consumption the power down mode is suggested. idle mode in the idle mode (see table 3), the cpu puts itself to sleep while all of the on-chip peripherals stay active. the instruction to invoke the idle mode is the last instruction executed in the normal operating mode before the idle mode is activated. the cpu contents, the on-chip ram, and all of the special function registers remain intact during this mode. the idle mode can be terminated either by any enabled interrupt (at which time the process is picked up at the interrupt service routine and continued), or by a hardware reset which starts the processor in the same manner as a power-on reset. power-down mode to save even more power, a power down mode (see table 3) can be invoked by software. in this mode, the oscillator is stopped and the instruction that invoked power down is the last instruction executed. the on-chip ram and special function registers retain their values down to 2.0v and care must be taken to return v cc to the minimum specified operating voltages before the power down mode is terminated. either a hardware reset or external interrupt can be used to exit from power down. reset redefines all the sfrs but does not change the on-chip ram. an external interrupt allows both the sfrs and the on-chip ram to retain their values. to properly terminate power down the reset or external interrupt should not be executed before v cc is restored to its normal operating level and must be held active long enough for the oscillator to restart and stabilize (normally less than 10ms). with an external interrupt, int0 and int1 must be enabled and configured as level-sensitive. holding the pin low restarts the oscillator but bringing the pin back high completes the exit. once the interrupt is serviced, the next instruction to be executed after reti will be the one following the instruction that put the device into power down. lpep the lpep bit (auxr.4), only needs to be set for applications operating at v cc less than 4v. power off flag the power off flag (pof) is set by on-chip circuitry when the v cc level on the 8xc51fx/8xc51rx+ rises from 0 to 5v. the pof bit can be set or cleared by software allowing a user to determine if the reset is the result of a power-on or a warm start after powerdown. the v cc level must remain above 3v for the pof to remain unaffected by the v cc level. design consideration ? when the idle mode is terminated by a hardware reset, the device normally resumes program execution, from where it left off, up to two machine cycles before the internal reset algorithm takes control. on-chip hardware inhibits access to internal ram in this event, but access to the port pins is not inhibited. to eliminate the possibility of an unexpected write when idle is terminated by reset, the instruction following the one that invokes idle should not be one that writes to a port pin or to external memory. once ? mode the once (aon-circuit emulationo) mode facilitates testing and debugging of systems without the device having to be removed from the circuit. the once mode is invoked by: 1. pull ale low while the device is in reset and psen is high; 2. hold ale low as rst is deactivated. while the device is in once mode, the port 0 pins go into a float state, and the other port pins and ale and psen are weakly pulled high. the oscillator circuit remains active. while the device is in this mode, an emulator or test cpu can be used to drive the circuit. normal operation is restored when a normal reset is applied. programmable clock-out a 50% duty cycle clock can be programmed to come out on p1.0. this pin, besides being a regular i/o pin, has two alternate functions. it can be programmed: 1. to input the external clock for timer/counter 2, or 2. to output a 50% duty cycle clock ranging from 61hz to 4mhz at a 16mhz operating frequency. to configure the timer/counter 2 as a clock generator, bit c/t 2 (in t2con) must be cleared and bit t20e in t2mod must be set. bit tr2 (t2con.2) also must be set to start the timer. the clock-out frequency depends on the oscillator frequency and the reload value of timer 2 capture registers (rcap2h, rcap2l) as shown in this equation: oscillator frequency 4 (65536  rcap2h, rcap2l) where (rcap2h,rcap2l) = the content of rcap2h and rcap2l taken as a 16-bit unsigned integer. in the clock-out mode timer 2 roll-overs will not generate an interrupt. this is similar to when it is used as a baud-rate generator. it is possible to use timer 2 as a baud-rate generator and a clock generator simultaneously. note, however, that the baud-rate and the clock-out frequency will be the same. table 3. external pin status during idle and power-down mode mode program memory ale psen port 0 port 1 port 2 port 3 idle internal 1 1 data data data data idle external 1 1 float data address data power-down internal 0 0 data data data data power-down external 0 0 float data data data
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 14 timer 2 operation timer 2 timer 2 is a 16-bit timer/counter which can operate as either an event timer or an event counter, as selected by c/t 2* in the special function register t2con (see figure 1). timer 2 has three operating modes: capture, auto-reload (up or down counting), and baud rate generator, which are selected by bits in the t2con as shown in table 4. capture mode in the capture mode there are two options which are selected by bit exen2 in t2con. if exen2=0, then timer 2 is a 16-bit timer or counter (as selected by c/t 2* in t2con) which, upon overflowing sets bit tf2, the timer 2 overflow bit. this bit can be used to generate an interrupt (by enabling the timer 2 interrupt bit in the ie register). if exen2= 1, timer 2 operates as described above, but with the added feature that a 1-to-0 transition at external input t2ex causes the current value in the timer 2 registers, tl2 and th2, to be captured into registers rcap2l and rcap2h, respectively. in addition, the transition at t2ex causes bit exf2 in t2con to be set, and exf2 like tf2 can generate an interrupt (which vectors to the same location as timer 2 overflow interrupt. the timer 2 interrupt service routine can interrogate tf2 and exf2 to determine which event caused the interrupt). the capture mode is illustrated in figure 2. (there is no reload value for tl2 and th2 in this mode. even when a capture event occurs from t2ex, the counter keeps on counting t2ex pin transitions or osc/12 pulses.) auto-reload mode (up or down counter) in the 16-bit auto-reload mode, timer 2 can be configured (as either a timer or counter [c/t 2* in t2con]) then programmed to count up or down. the counting direction is determined by bit dcen (down counter enable) which is located in the t2mod register (see figure 3). when reset is applied the dcen=0 which means timer 2 will default to counting up. if dcen bit is set, timer 2 can count up or down depending on the value of the t2ex pin. figure 4 shows timer 2 which will count up automatically since dcen=0. in this mode there are two options selected by bit exen2 in t2con register. if exen2=0, then timer 2 counts up to 0ffffh and sets the tf2 (overflow flag) bit upon overflow. this causes the timer 2 registers to be reloaded with the 16-bit value in rcap2l and rcap2h. the values in rcap2l and rcap2h are preset by software means. if exen2=1, then a 16-bit reload can be triggered either by an overflow or by a 1-to-0 transition at input t2ex. this transition also sets the exf2 bit. the timer 2 interrupt, if enabled, can be generated when either tf2 or exf2 are 1. in figure 5 dcen=1, which enables timer 2 to count up or down. this mode allows pin t2ex to control the direction of count. when a logic 1 is applied at pin t2ex timer 2 will count up. timer 2 will overflow at 0ffffh and set the tf2 flag, which can then generate an interrupt, if the interrupt is enabled. this timer overflow also causes the 16bit value in rcap2l and rcap2h to be reloaded into the timer registers tl2 and th2. when a logic 0 is applied at pin t2ex this causes timer 2 to count down. the timer will underflow when tl2 and th2 become equal to the value stored in rcap2l and rcap2h. timer 2 underflow sets the tf2 flag and causes 0ffffh to be reloaded into the timer registers tl2 and th2. the external flag exf2 toggles when timer 2 underflows or overflows. this exf2 bit can be used as a 17th bit of resolution if needed. the exf2 flag does not generate an interrupt in this mode of operation. (msb) (lsb) symbol position name and significance tf2 t2con.7 timer 2 overflow flag set by a timer 2 overflow and must be cleared by software. tf2 will not be set when either rclk or tclk = 1. exf2 t2con.6 timer 2 external flag set when either a capture or reload is caused by a negative transition on t2ex and exen2 = 1. when timer 2 interrupt is enabled, exf2 = 1 will cause the cpu to vector to the timer 2 interrupt routine. exf2 must be cleared by software. exf2 does not cause an interrupt in up/down counter mode (dcen = 1). rclk t2con.5 receive clock flag. when set, causes the serial port to use timer 2 overflow pulses for its receive clock in modes 1 and 3. rclk = 0 causes timer 1 overflow to be used for the receive clock. tclk t2con.4 transmit clock flag. when set, causes the serial port to use timer 2 overflow pulses for its transmit clock in modes 1 and 3. tclk = 0 causes timer 1 overflows to be used for the transmit clock. exen2 t2con.3 timer 2 external enable flag. when set, allows a capture or reload to occur as a result of a negative transition on t2ex if timer 2 is not being used to clock the serial port. exen2 = 0 causes timer 2 to ignore events at t2ex. tr2 t2con.2 start/stop control for timer 2. a logic 1 starts the timer. c/t2 t2con.1 timer or counter select. (timer 2) 0 = internal timer (osc/12) 1 = external event counter (falling edge triggered). cp/rl2 t2con.0 capture/reload flag. when set, captures will occur on negative transitions at t2ex if exen2 = 1. when cleared, auto-reloads will occur either with timer 2 overflows or negative transitions at t2ex when exen2 = 1. when either rclk = 1 or tclk = 1, this bit is ignored and the timer is forced to auto-reload on timer 2 overflow. tf2 exf2 rclk tclk exen2 tr2 c/t2 cp/rl2 su00728 figure 1. timer/counter 2 (t2con) control register
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 15 table 4. timer 2 operating modes rclk + tclk cp/rl2 tr2 mode 0 0 1 16-bit auto-reload 0 1 1 16-bit capture 1 x 1 baud rate generator x x 0 (off) osc 12 c/t2 = 0 c/t2 = 1 tr2 control tl2 (8-bits) th2 (8-bits) tf2 rcap2l rcap2h exen2 control exf2 timer 2 interrupt t2ex pin transition detector t2 pin capture su00066 figure 2. timer 2 in capture mode not bit addressable symbol function e not implemented, reserved for future use.* t2oe timer 2 output enable bit. dcen down count enable bit. when set, this allows timer 2 to be configured as an up/down counter. e e e e e e t2oe dcen su00729 76543210 * user software should not write 1s to reserved bits. these bits may be used in future 8051 family products to invoke new featur es. in that case, the reset or inactive value of the new bit will be 0, and its active value will be 1. the value read from a reser ved bit is indeterminate. bit t2mod address = 0c9h reset value = xxxx xx00b figure 3. timer 2 mode (t2mod) control register
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 16 osc 12 c/t2 = 0 c/t2 = 1 tr2 control tl2 (8-bits) th2 (8-bits) tf2 rcap2l rcap2h exen2 control exf2 timer 2 interrupt t2ex pin transition detector t2 pin reload su00067 figure 4. timer 2 in auto-reload mode (dcen = 0) 12 c/t2 = 0 c/t2 = 1 tl2 th2 tr2 control t2 pin su00730 ffh ffh rcap2l rcap2h (up counting reload value) t2ex pin tf2 interrupt count direction 1 = up 0 = down exf2 overflow (down counting reload value) toggle osc figure 5. timer 2 auto reload mode (dcen = 1)
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 17 osc 2 c/t2 = 0 c/t2 = 1 tr2 control tl2 (8-bits) th2 (8-bits) 16 rcap2l rcap2h exen2 control exf2 timer 2 interrupt t2ex pin transition detector t2 pin reload note: osc. freq. is divided by 2, not 12. 2 a0o a1o rx clock 16 tx clock a0o a1o a0o a1o timer 1 overflow note availability of additional external interrupt. smod rclk tclk su00068 figure 6. timer 2 in baud rate generator mode table 5. timer 2 generated commonly used baud rates ba d rate osc freq timer 2 ba u d rate osc freq rcap2h rcap2l 375k 12mhz ff ff 9.6k 12mhz ff d9 2.8k 12mhz ff b2 2.4k 12mhz ff 64 1.2k 12mhz fe c8 300 12mhz fb 1e 110 12mhz f2 af 300 6mhz fd 8f 110 6mhz f9 57 baud rate generator mode bits tclk and/or rclk in t2con (table 5) allow the serial port transmit and receive baud rates to be derived from either timer 1 or timer 2. when tclk= 0, timer 1 is used as the serial port transmit baud rate generator. when tclk= 1, timer 2 is used as the serial port transmit baud rate generator. rclk has the same effect for the serial port receive baud rate. with these two bits, the serial port can have different receive and transmit baud rates one generated by timer 1, the other by timer 2. figure 6 shows the timer 2 in baud rate generation mode. the baud rate generation mode is like the auto-reload mode,in that a rollover in th2 causes the timer 2 registers to be reloaded with the 16-bit value in registers rcap2h and rcap2l, which are preset by software. the baud rates in modes 1 and 3 are determined by timer 2's overflow rate given below: modes 1 and 3 baud rates  timer 2 overflow rate 16 the timer can be configured for either atimero or acountero operation. in many applications, it is configured for atimero operation (c/t 2*=0). timer operation is different for timer 2 when it is being used as a baud rate generator. usually, as a timer it would increment every machine cycle (i.e., 1/12 the oscillator frequency). as a baud rate generator, it increments every state time (i.e., 1/2 the oscillator frequency). thus the baud rate formula is as follows: oscillator frequency [32 [65536  (rcap2h, rcap2l)]] modes 1 and 3 baud rates = where: (rcap2h, rcap2l)= the content of rcap2h and rcap2l taken as a 16-bit unsigned integer. the timer 2 as a baud rate generator mode shown in figure 6, is valid only if rclk and/or tclk = 1 in t2con register. note that a rollover in th2 does not set tf2, and will not generate an interrupt. thus, the timer 2 interrupt does not have to be disabled when timer 2 is in the baud rate generator mode. also if the exen2 (t2 external enable flag) is set, a 1-to-0 transition in t2ex (timer/counter 2 trigger input) will set exf2 (t2 external flag) but will not cause a reload from (rcap2h, rcap2l) to (th2,tl2). therefore when timer 2 is in use as a baud rate generator, t2ex can be used as an additional external interrupt, if needed.
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 18 when timer 2 is in the baud rate generator mode, one should not try to read or write th2 and tl2. as a baud rate generator, timer 2 is incremented every state time (osc/2) or asynchronously from pin t2; under these conditions, a read or write of th2 or tl2 may not be accurate. the rcap2 registers may be read, but should not be written to, because a write might overlap a reload and cause write and/or reload errors. the timer should be turned off (clear tr2) before accessing the timer 2 or rcap2 registers. table 5 shows commonly used baud rates and how they can be obtained from timer 2. summary of baud rate equations timer 2 is in baud rate generating mode. if timer 2 is being clocked through pin t2(p1.0) the baud rate is: baud rate  timer 2 overflow rate 16 if timer 2 is being clocked internally , the baud rate is: baud rate  f osc [32 [65536  (rcap2h, rcap2l)]] where f osc = oscillator frequency to obtain the reload value for rcap2h and rcap2l, the above equation can be rewritten as: rcap2h, rcap2l  65536   f osc 32 baud rate  timer/counter 2 set-up except for the baud rate generator mode, the values given for t2con do not include the setting of the tr2 bit. therefore, bit tr2 must be set, separately, to turn the timer on. see table 6 for set-up of timer 2 as a timer. also see table 7 for set-up of timer 2 as a counter. table 6. timer 2 as a timer t2con mode internal control (note 1) external control (note 2) 16-bit auto-reload 00h 08h 16-bit capture 01h 09h baud rate generator receive and transmit same baud rate 34h 36h receive only 24h 26h transmit only 14h 16h table 7. timer 2 as a counter tmod mode internal control (note 1) external control (note 2) 16-bit 02h 0ah auto-reload 03h 0bh notes: 1. capture/reload occurs only on timer/counter overflow. 2. capture/reload occurs on timer/counter overflow and a 1-to-0 transition on t2ex (p1.1) pin except when timer 2 is used in the baud rate generator mode.
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 19 enhanced uart the uart operates in all of the usual modes that are described in the first section of data handbook ic20, 80c51-based 8-bit microcontrollers . in addition the uart can perform framing error detect by looking for missing stop bits, and automatic address recognition. the uart also fully supports multiprocessor communication as does the standard 80c51 uart. when used for framing error detect the uart looks for missing stop bits in the communication. a missing bit will set the fe bit in the scon register. the fe bit shares the scon.7 bit with sm0 and the function of scon.7 is determined by pcon.6 (smod0) (see figure 7). if smod0 is set then scon.7 functions as fe. scon.7 functions as sm0 when smod0 is cleared. when used as fe scon.7 can only be cleared by software. refer to figure 8. automatic address recognition automatic address recognition is a feature which allows the uart to recognize certain addresses in the serial bit stream by using hardware to make the comparisons. this feature saves a great deal of software overhead by eliminating the need for the software to examine every serial address which passes by the serial port. this feature is enabled by setting the sm2 bit in scon. in the 9 bit uart modes, mode 2 and mode 3, the receive interrupt flag (ri) will be automatically set when the received byte contains either the agiveno address or the abroadcasto address. the 9 bit mode requires that the 9th information bit is a 1 to indicate that the received information is an address and not data. automatic address recognition is shown in figure 9. the 8 bit mode is called mode 1. in this mode the ri flag will be set if sm2 is enabled and the information received has a valid stop bit following the 8 address bits and the information is either a given or broadcast address. mode 0 is the shift register mode and sm2 is ignored. using the automatic address recognition feature allows a master to selectively communicate with one or more slaves by invoking the given slave address or addresses. all of the slaves may be contacted by using the broadcast address. two special function registers are used to define the slave's address, saddr, and the address mask, saden. saden is used to define which bits in the saddr are to b used and which bits are adon't careo. the saden mask can be logically anded with the saddr to create the agiveno address which the master will use for addressing each of the slaves. use of the given address allows multiple slaves to be recognized while excluding others. the following examples will help to show the versatility of this scheme: slave 0 saddr = 1100 0000 saden = 1111 1101 given = 1100 00x0 slave 1 saddr = 1100 0000 saden = 1111 1110 given = 1100 000x in the above example saddr is the same and the saden data is used to differentiate between the two slaves. slave 0 requires a 0 in bit 0 and it ignores bit 1. slave 1 requires a 0 in bit 1 and bit 0 is ignored. a unique address for slave 0 would be 1100 0010 since slave 1 requires a 0 in bit 1. a unique address for slave 1 would be 1100 0001 since a 1 in bit 0 will exclude slave 0. both slaves can be selected at the same time by an address which has bit 0 = 0 (for slave 0) and bit 1 = 0 (for slave 1). thus, both could be addressed with 1100 0000. in a more complex system the following could be used to select slaves 1 and 2 while excluding slave 0: slave 0 saddr = 1100 0000 saden = 1111 1001 given = 1100 0xx0 slave 1 saddr = 1110 0000 saden = 1111 1010 given = 1110 0x0x slave 2 saddr = 1110 0000 saden = 1111 1100 given = 1110 00xx in the above example the differentiation among the 3 slaves is in the lower 3 address bits. slave 0 requires that bit 0 = 0 and it can be uniquely addressed by 1110 0110. slave 1 requires that bit 1 = 0 and it can be uniquely addressed by 1110 and 0101. slave 2 requires that bit 2 = 0 and its unique address is 1110 0011. to select slaves 0 and 1 and exclude slave 2 use address 1110 0100, since it is necessary to make bit 2 = 1 to exclude slave 2. the broadcast address for each slave is created by taking the logical or of saddr and saden. zeros in this result are trended as don't-cares. in most cases, interpreting the don't-cares as ones, the broadcast address will be ff hexadecimal. upon reset saddr (sfr address 0a9h) and saden (sfr address 0b9h) are leaded with 0s. this produces a given address of all adon't careso as well as a broadcast address of all adon't careso. this effectively disables the automatic addressing mode and allows the microcontroller to use standard 80c51 type uart drivers which do not make use of this feature.
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 20 scon address = 98h reset value = 0000 0000b sm0/fe sm1 sm2 ren tb8 rb8 tl rl bit addressable (smod0 = 0/1)* symbol function fe framing error bit. this bit is set by the receiver when an invalid stop bit is detected. the fe bit is not cleared by valid frames but should be cleared by software. the smod0 bit must be set to enable access to the fe bit. sm0 serial port mode bit 0, (smod0 must = 0 to access bit sm0) sm1 serial port mode bit 1 sm0 sm1 mode description baud rate** 0 0 0 shift register f osc /12 0 1 1 8-bit uart variable 1 0 2 9-bit uart f osc /64 or f osc /32 1 1 3 9-bit uart variable sm2 enables the automatic address recognition feature in modes 2 or 3. if sm2 = 1 then rl will not be set unless the received 9th data bit (rb8) is 1, indicating an address, and the received byte is a given or broadcast address. in mode 1, if sm2 = 1 then rl will not be activated unless a valid stop bit was received, and the received byte is a given or broadcast address. in mode 0, sm2 should be 0. ren enables serial reception. set by software to enable reception. clear by software to disable reception. tb8 the 9th data bit that will be transmitted in modes 2 and 3. set or clear by software as desired. rb8 in modes 2 and 3, the 9th data bit that was received. in mode 1, if sm2 = 0, rb8 is the stop bit that was received. in mode 0, rb8 is not used. tl transmit interrupt flag. set by hardware at the end of the 8th bit time in mode 0, or at the beginning of the stop bit in the other modes, in any serial transmission. must be cleared by software. rl receive interrupt flag. set by hardware at the end of the 8th bit time in mode 0, or halfway through the stop bit time in the other modes, in any serial reception (except see sm2). must be cleared by software. note: *smod0 is located at pcon6. **f osc = oscillator frequency su00043 bit: 76543210 figure 7. scon: serial port control register
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 21 smod1 smod0 pof gf1 gf0 pd idl pcon (87h) sm0 / fe sm1 sm2 ren tb8 rb8 ti ri scon (98h) d0 d1 d2 d3 d4 d5 d6 d7 d8 stop bit data byte only in mode 2, 3 start bit set fe bit if stop bit is 0 (framing error) sm0 to uart mode control 0 : scon.7 = sm0 1 : scon.7 = fe su01191 figure 8. uart framing error detection sm0 sm1 sm2 ren tb8 rb8 ti ri scon (98h) d0 d1 d2 d3 d4 d5 d6 d7 d8 1 1 1 0 comparator 11 x received address d0 to d7 programmed address in uart mode 2 or mode 3 and sm2 = 1: interrupt if ren=1, rb8=1 and areceived addresso = aprogrammed addresso when own address received, clear sm2 to receive data bytes when all data bytes have been received: set sm2 to wait for next address. su00045 figure 9. uart multiprocessor communication, automatic address recognition
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 22 interrupt priority structure the 8xc51fa/fb/fc and 8xc51ra+/rb+/rc+/rd+ have a 7-source four-level interrupt structure (see table 8). the 80c54/58 have a 6-source four-level interrupt structure because these devices do not have a pca. there are 3 sfrs associated with the four-level interrupt. they are the ie, ip, and iph. (see figures 10, 11, and 12.) the iph (interrupt priority high) register makes the four-level interrupt structure possible. the iph is located at sfr address b7h. the structure of the iph register and a description of its bits is shown in figure 12. the function of the iph sfr is simple and when combined with the ip sfr determines the priority of each interrupt. the priority of each interrupt is determined as shown in the following table: priority bits interrupt priority level iph.x ip.x interrupt priority level 0 0 level 0 (lowest priority) 0 1 level 1 1 0 level 2 1 1 level 3 (highest priority) the priority scheme for servicing the interrupts is the same as that for the 80c51, except there are four interrupt levels rather than two as on the 80c51. an interrupt will be serviced as long as an interrupt of equal or higher priority is not already being serviced. if an interrupt of equal or higher level priority is being serviced, the new interrupt will wait until it is finished before being serviced. if a lower priority level interrupt is being serviced, it will be stopped and the new interrupt serviced. when the new interrupt is finished, the lower priority level interrupt that was stopped will be completed. table 8. interrupt table source polling priority request bits hardware clear? vector address x0 1 ie0 n (l) 1 y (t) 2 03h t0 2 tf0 y 0b x1 3 ie1 n (l) y (t) 13 t1 4 tf1 y 1b pca 5 cf, ccfn n = 04 n 33 sp 6 ri, ti n 23 t2 7 tf2, exf2 n 2b notes: 1. l = level activated 2. t = transition activated ex0 ie (0a8h) enable bit = 1 enables the interrupt. enable bit = 0 disables it. bit symbol function ie.7 ea global disable bit. if ea = 0, all interrupts are disabled. if ea = 1, each interrupt can be individually enabled or disabled by setting or clearing its enable bit. ie.6 ec pca interrupt enable bit for fx and rx+ only otherwise it is not implemented. ie.5 et2 timer 2 interrupt enable bit. ie.4 es serial port interrupt enable bit. ie.3 et1 timer 1 interrupt enable bit. ie.2 ex1 external interrupt 1 enable bit. ie.1 et0 timer 0 interrupt enable bit. ie.0 ex0 external interrupt 0 enable bit. su00840 et0 ex1 et1 es et2 ec ea 0 1 2 3 4 5 6 7 figure 10. ie registers
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 23 px0 ip (0b8h) priority bit = 1 assigns high priority priority bit = 0 assigns low priority bit symbol function ip.7 e not implemented, reserved for future use. ip.6 ppc pca interrupt priority bit for fx and rx+ only, otherwise it is not implemented. ip.5 pt2 timer 2 interrupt priority bit. ip.4 ps serial port interrupt priority bit. ip.3 pt1 timer 1 interrupt priority bit. ip.2 px1 external interrupt 1 priority bit. ip.1 pt0 timer 0 interrupt priority bit. ip.0 px0 external interrupt 0 priority bit. su00841 pt0 px1 pt1 ps pt2 ppc e 0 1 2 3 4 5 6 7 figure 11. ip registers px0h iph (b7h) priority bit = 1 assigns higher priority priority bit = 0 assigns lower priority bit symbol function iph.7 e not implemented, reserved for future use. iph.6 ppch pca interrupt priority bit high for fx and rx+ only, otherwise it is not implemented. iph.5 pt2h timer 2 interrupt priority bit high. iph.4 psh serial port interrupt priority bit high. iph.3 pt1h timer 1 interrupt priority bit high. iph.2 px1h external interrupt 1 priority bit high. iph.1 pt0h timer 0 interrupt priority bit high. iph.0 px0h external interrupt 0 priority bit high. su00881 pt0h px1h pt1h psh pt2h ppch e 0 1 2 3 4 5 6 7 figure 12. iph registers
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 24 reduced emi mode the ao bit (auxr.0) in the auxr register when set disables the ale output. reduced emi mode auxr (8eh) 765432 1 0 extram ao auxr.1 extram (rx+ only) auxr.0 ao turns off ale output. dual dptr the dual dptr structure (see figure 13) is a way by which the chip will specify the address of an external data memory location. there are two 16-bit dptr registers that address the external memory, and a single bit called dps = auxr1/bit0 that allows the program code to switch between them. ? new register name: auxr1# ? sfr address: a2h ? reset value: xxxx00x0b 76543210 lpep gf3 0 dps where: dps = auxr1/bit0 = switches between dptr0 and dptr1. select reg dps dptr0 0 dptr1 1 the dps bit status should be saved by software when switching between dptr0 and dptr1. the gf3 bit is a general purpose userdefined flag. note that bit 2 is not writable and is always read as a zero. this allows the dps bit to be quickly toggled simply by executing an inc dptr instruction without affecting the gf3 or lpep bits. dps dptr1 dptr0 dph (83h) dpl (82h) external data memory su00745a bit0 auxr1 figure 13. dptr instructions the instructions that refer to dptr refer to the data pointer that is currently selected using the auxr1/bit 0 register. the six instructions that use the dptr are as follows: inc dptr increments the data pointer by 1 mov dptr, #data16 loads the dptr with a 16-bit constant mov a, @ a+dptr move code byte relative to dptr to acc movx a, @ dptr move external ram (16-bit address) to acc movx @ dptr , a move acc to external ram (16-bit address) jmp @ a + dptr jump indirect relative to dptr the data pointer can be accessed on a byte-by-byte basis by specifying the low or high byte in an instruction which accesses the sfrs. see application note an458 for more details.
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 25 (8xc51fx and 8xc51rx+ only) programmable counter array (pca) (8xc51fx and 8xc51rx+ only) the programmable counter array available on the 8xc51fx and 8xc51rx+ is a special 16-bit timer that has five 16-bit capture/compare modules associated with it. each of the modules can be programmed to operate in one of four modes: rising and/or falling edge capture, software timer, high-speed output, or pulse width modulator. each module has a pin associated with it in port 1. module 0 is connected to p1.3(cex0), module 1 to p1.4(cex1), etc. the basic pca configuration is shown in figure 14. the pca timer is a common time base for all five modules and can be programmed to run at: 1/12 the oscillator frequency, 1/4 the oscillator frequency, the timer 0 overflow, or the input on the eci pin (p1.2). the timer count source is determined from the cps1 and cps0 bits in the cmod sfr as follows (see figure 17): cps1 cps0 pca timer count source 0 0 1/12 oscillator frequency 0 1 1/4 oscillator frequency 1 0 timer 0 overflow 1 1 external input at eci pin in the cmod sfr are three additional bits associated with the pca. they are cidl which allows the pca to stop during idle mode, wdte which enables or disables the watchdog function on module 4, and ecf which when set causes an interrupt and the pca overflow flag cf (in the ccon sfr) to be set when the pca timer overflows. these functions are shown in figure 15. the watchdog timer function is implemented in module 4 (see figure 24). the ccon sfr contains the run control bit for the pca and the flags for the pca timer (cf) and each module (refer to figure 18). to run the pca the cr bit (ccon.6) must be set by software. the pca is shut off by clearing this bit. the cf bit (ccon.7) is set when the pca counter overflows and an interrupt will be generated if the ecf bit in the cmod register is set, the cf bit can only be cleared by software. bits 0 through 4 of the ccon register are the flags for the modules (bit 0 for module 0, bit 1 for module 1, etc.) and are set by hardware when either a match or a capture occurs. these flags also can only be cleared by software. the pca interrupt system shown in figure 16. each module in the pca has a special function register associated with it. these registers are: ccapm0 for module 0, ccapm1 for module 1, etc. (see figure 19). the registers contain the bits that control the mode that each module will operate in. the eccf bit (ccapmn.0 where n=0, 1, 2, 3, or 4 depending on the module) enables the ccf flag in the ccon sfr to generate an interrupt when a match or compare occurs in the associated module. pwm (ccapmn.1) enables the pulse width modulation mode. the tog bit (ccapmn.2) when set causes the cex output associated with the module to toggle when there is a match between the pca counter and the module's capture/compare register. the match bit mat (ccapmn.3) when set will cause the ccfn bit in the ccon register to be set when there is a match between the pca counter and the module's capture/compare register. the next two bits capn (ccapmn.4) and capp (ccapmn.5) determine the edge that a capture input will be active on. the capn bit enables the negative edge, and the capp bit enables the positive edge. if both bits are set both edges will be enabled and a capture will occur for either transition. the last bit in the register ecom (ccapmn.6) when set enables the comparator function. figure 20 shows the ccapmn settings for the various pca functions. there are two additional registers associated with each of the pca modules. they are ccapnh and ccapnl and these are the registers that store the 16-bit count when a capture occurs or a compare should occur. when a module is used in the pwm mode these registers are used to control the duty cycle of the output. module functions: 16-bit capture 16-bit timer 16-bit high speed output 8-bit pwm watchdog timer (module 4 only) module 0 module 1 module 2 module 3 module 4 p1.3/cex0 p1.4/cex1 p1.5/cex2 p1.6/cex3 p1.7/cex4 16 bits pca timer/counter time base for pca modules 16 bits su00032 figure 14. programmable counter array (pca)
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 26 (8xc51fx and 8xc51rx+ only) cf cr ccf4 ccf3 ccf2 ccf1 ccf0 ccon (d8h) ch cl overflow interrupt 16bit up counter idle to pca modules cmod (d9h) cidl wdte cps1 cps0 ecf osc/12 osc/4 timer 0 overflow external input (p1.2/eci) decode 00 01 10 11 su00033 figure 15. pca timer/counter module 0 module 1 module 2 module 3 module 4 pca timer/counter cf cr ccf4 ccf3 ccf2 ccf1 ccf0 cmod.0 ecf ccapmn.0 eccfn to interrupt priority decoder ccon (d8h) ie.6 ec ie.7 ea su00034 figure 16. pca interrupt system
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 27 (8xc51fx and 8xc51rx+ only) cmod address = od9h reset value = 00xx x000b cidl wdte cps1 cps0 ecf bit: symbol function cidl counter idle control: cidl = 0 programs the pca counter to continue functioning during idle mode. cidl = 1 programs it to be gated off during idle. wdte watchdog timer enable: wdte = 0 disables watchdog timer function on pca module 4. wdte = 1 enables it. not implemented, reserved for future use.* cps1 pca count pulse select bit 1. cps0 pca count pulse select bit 0. cps1 cps0 selected pca input** 0 0 0 internal clock, f osc 12 0 1 1 internal clock, f osc 4 1 0 2 timer 0 overflow 1 1 3 external clock at eci/p1.2 pin (max. rate = f osc 8) ecf pca enable counter overflow interrupt: ecf = 1 enables cf bit in ccon to generate an interrupt. ecf = 0 disables that function of cf. note: * user software should not write 1s to reserved bits. these bits may be used in future 8051 family products to invoke new featur es. in that case, the reset or inactive value of the new bit will be 0, and its active value will be 1. the value read from a reserved bit is indeterminate. ** f osc = oscillator frequency su00035 76543210 figure 17. cmod: pca counter mode register ccon address = od8h reset value = 00x0 0000b cf cr ccf4 ccf3 ccf2 ccf1 ccf0 bit addressable bit: symbol function cf pca counter overflow flag. set by hardware when the counter rolls over. cf flags an interrupt if bit ecf in cmod is set. cf may be set by either hardware or software but can only be cleared by software. cr pca counter run control bit. set by software to turn the pca counter on. must be cleared by software to turn the pca counter off. not implemented, reserved for future use*. ccf4 pca module 4 interrupt flag. set by hardware when a match or capture occurs. must be cleared by software. ccf3 pca module 3 interrupt flag. set by hardware when a match or capture occurs. must be cleared by software. ccf2 pca module 2 interrupt flag. set by hardware when a match or capture occurs. must be cleared by software. ccf1 pca module 1 interrupt flag. set by hardware when a match or capture occurs. must be cleared by software. ccf0 pca module 0 interrupt flag. set by hardware when a match or capture occurs. must be cleared by software. note: * user software should not write 1s to reserved bits. these bits may be used in future 8051 family products to invoke new featur es. in that case, the reset or inactive value of the new bit will be 0, and its active value will be 1. the value read from a reserved bit is indeterminate. su00036 76543210 figure 18. ccon: pca counter control register
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 28 (8xc51fx and 8xc51rx+ only) ccapmn address ccapm0 0dah ccapm1 0dbh ccapm2 0dch ccapm3 0ddh ccapm4 0deh reset value = x000 0000b ecomn cappn capnn matn togn pwmn eccfn not bit addressable bit: symbol function not implemented, reserved for future use*. ecomn enable comparator. ecomn = 1 enables the comparator function. cappn capture positive, cappn = 1 enables positive edge capture. capnn capture negative, capnn = 1 enables negative edge capture. matn match. when matn = 1, a match of the pca counter with this module's compare/capture register causes the ccfn bit in ccon to be set, flagging an interrupt. togn toggle. when togn = 1, a match of the pca counter with this module's compare/capture register causes the cexn pin to toggle. pwmn pulse width modulation mode. pwmn = 1 enables the cexn pin to be used as a pulse width modulated output. eccfn enable ccf interrupt. enables compare/capture flag ccfn in the ccon register to generate an interrupt. note: *user software should not write 1s to reserved bits. these bits may be used in future 8051 family products to invoke new featur es. in that case, the reset or inactive value of the new bit will be 0, and its active value will be 1. the value read from a reserved bit is indeterminate. su00037 76543210 figure 19. ccapmn: pca modules compare/capture registers ecomn cappn capnn matn togn pwmn eccfn module function x 0 0 0 0 0 0 0 no operation x x 1 0 0 0 0 x 16-bit capture by a positive-edge trigger on cexn x x 0 1 0 0 0 x 16-bit capture by a negative trigger on cexn x x 1 1 0 0 0 x 16-bit capture by a transition on cexn x 1 0 0 1 0 0 x 16-bit software timer x 1 0 0 1 1 0 x 16-bit high speed output x 1 0 0 0 0 1 0 8-bit pwm x 1 0 0 1 x 0 x watchdog timer figure 20. pca module modes (ccapmn register) pca capture mode to use one of the pca modules in the capture mode either one or both of the ccapm bits capn and capp for that module must be set. the external cex input for the module (on port 1) is sampled for a transition. when a valid transition occurs the pca hardware loads the value of the pca counter registers (ch and cl) into the module's capture registers (ccapnl and ccapnh). if the ccfn bit for the module in the ccon sfr and the eccfn bit in the ccapmn sfr are set then an interrupt will be generated. refer to figure 21. 16-bit software timer mode the pca modules can be used as software timers by setting both the ecom and mat bits in the modules ccapmn register. the pca timer will be compared to the module's capture registers and when a match occurs an interrupt will occur if the ccfn (ccon sfr) and the eccfn (ccapmn sfr) bits for the module are both set (see figure 22). high speed output mode in this mode the cex output (on port 1) associated with the pca module will toggle each time a match occurs between the pca counter and the module's capture registers. to activate this mode the tog, mat, and ecom bits in the module's ccapmn sfr must be set (see figure 23). pulse width modulator mode all of the pca modules can be used as pwm outputs. figure 24 shows the pwm function. the frequency of the output depends on the source for the pca timer. all of the modules will have the same frequency of output because they all share the pca timer. the duty cycle of each module is independently variable using the module's capture register ccapln. when the value of the pca cl sfr is less than the value in the module's ccapln sfr the output will be low, when it is equal to or greater than the output will be high. when cl overflows from ff to 00, ccapln is reloaded with the value in ccaphn. the allows updating the pwm without glitches. the pwm and ecom bits in the module's ccapmn register must be set to enable the pwm mode.
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 29 (8xc51fx and 8xc51rx+ only) cf cr ccf4 ccf3 ccf2 ccf1 ccf0 ccon (d8h) ecomn cappn capnn matn togn pwmn eccfn ccapmn, n= 0 to 4 (dah deh) ch cl ccapnh ccapnl cexn capture pca interrupt pca timer/counter 0 000 (to ccfn) su00749 figure 21. pca capture mode match cf cr ccf4 ccf3 ccf2 ccf1 ccf0 ccon (d8h) ecomn cappn capnn matn togn pwmn eccfn ccapmn, n= 0 to 4 (dah deh) ch cl ccapnh ccapnl pca interrupt pca timer/counter 00 00 16bit comparator (to ccfn) enable write to ccapnh reset write to ccapnl 01 su00750 figure 22. pca compare mode
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 30 (8xc51fx and 8xc51rx+ only) cf cr ccf4 ccf3 ccf2 ccf1 ccf0 ccon (d8h) ecomn cappn capnn matn togn pwmn eccfn ccapmn, n: 0..4 (dah deh) ch cl ccapnh ccapnl pca interrupt pca timer/counter 10 00 16bit comparator (to ccfn) write to ccapnh reset write to ccapnl 01 enable cexn toggle match su00751 figure 23. pca high speed output mode cl < ccapnl ecomn cappn capnn matn togn pwmn eccfn ccapmn, n: 0..4 (dah deh) pca timer/counter 00 00 cl ccapnl cexn 8bit comparator overflow ccapnh enable 0 1 cl >= ccapnl 0 su00752 figure 24. pca pwm mode
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 31 (8xc51fx and 8xc51rx+ only) ecomn cappn capnn matn togn pwmn eccfn ccapm4 (deh) ch cl ccap4h ccap4l reset pca timer/counter x0 00 16bit comparator match enable write to ccap4h reset write to ccap4l 01 1 cmod (d9h) cidl wdte cps1 cps0 ecf x su00832 module 4 figure 25. pca watchdog timer m(module 4 only) pca watchdog timer an on-board watchdog timer is available with the pca to improve the reliability of the system without increasing chip count. watchdog timers are useful for systems that are susceptible to noise, power glitches, or electrostatic discharge. module 4 is the only pca module that can be programmed as a watchdog. however, this module can still be used for other modes if the watchdog is not needed. figure 25 shows a diagram of how the watchdog works. the user pre-loads a 16-bit value in the compare registers. just like the other compare modes, this 16-bit value is compared to the pca timer value. if a match is allowed to occur, an internal reset will be generated. this will not cause the rst pin to be driven high. in order to hold off the reset, the user has three options: 1. periodically change the compare value so it will never match the pca timer, 2. periodically change the pca timer value so it will never match the compare values, or 3. disable the watchdog by clearing the wdte bit before a match occurs and then re-enable it. the first two options are more reliable because the watchdog timer is never disabled as in option #3. if the program counter ever goes astray, a match will eventually occur and cause an internal reset. the second option is also not recommended if other pca modules are being used. remember, the pca timer is the time base for all modules; changing the time base for other modules would not be a good idea. thus, in most applications the first solution is the best option. figure 26 shows the code for initializing the watchdog timer. module 4 can be configured in either compare mode, and the wdte bit in cmod must also be set. the user's software then must periodically change (ccap4h,ccap4l) to keep a match from occurring with the pca timer (ch,cl). this code is given in the watchdog routine in figure 26. this routine should not be part of an interrupt service routine, because if the program counter goes astray and gets stuck in an infinite loop, interrupts will still be serviced and the watchdog will keep getting reset. thus, the purpose of the watchdog would be defeated. instead, call this subroutine from the main program within 2 16 count of the pca timer.
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 32 (8xc51fx and 8xc51rx+ only) init_watchdog: mov ccapm4, #4ch ; module 4 in compare mode mov ccap4l, #0ffh ; write to low byte first mov ccap4h, #0ffh ; before pca timer counts up to ; ffff hex, these compare values ; must be changed orl cmod, #40h ; set the wdte bit to enable the ; watchdog timer without changing ; the other bits in cmod ; ;******************************************************************** ; ; main program goes here, but call watchdog periodically. ; ;******************************************************************** ; watchdog: clr ea ; hold off interrupts mov ccap4l, #00 ; next compare value is within mov ccap4h, ch ; 255 counts of the current pca setb ea ; timer value ret figure 26. pca watchdog timer initialization code
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 33 (8xc51rx+ only) expanded data ram addressing (8xc51rx+ only) the 8xc51rx+ have internal data memory that is mapped into four separate segments: the lower 128 bytes of ram, upper 128 bytes of ram, 128 bytes special function register (sfr), and 256 bytes (768 for rd+) expanded ram (extram). the four segments are: 1. the lower 128 bytes of ram (addresses 00h to 7fh) are directly and indirectly addressable. 2. the upper 128 bytes of ram (addresses 80h to ffh) are indirectly addressable only. 3. the special function registers, sfrs, (addresses 80h to ffh) are directly addressable only. 4. the 256-bytes (768 for rd+) expanded ram ((extram (256-bytes) 00hffh)) and ((extram (768-bytes for rd+) 00h 2ffh)) are indirectly accessed by move external instruction, movx, and with the extram bit cleared, see figure 27. the lower 128 bytes can be accessed by either direct or indirect addressing. the upper 128 bytes can be accessed by indirect addressing only. the upper 128 bytes occupy the same address space as the sfr. that means they have the same address, but are physically separate from sfr space. when an instruction accesses an internal location above address 7fh, the cpu knows whether the access is to the upper 128 bytes of data ram or to sfr space by the addressing mode used in the instruction. instructions that use direct addressing access sfr space. for example: mov 0a0h,#data accesses the sfr at location 0a0h (which is p2). instructions that use indirect addressing access the upper 128 bytes of data ram. for example: mov @r0,#data where r0 contains 0a0h, accesses the data byte at address 0a0h, rather than p2 (whose address is 0a0h). the extram can be accessed by indirect addressing, with extram bit cleared and movx instructions. this part of memory is physically located on-chip, logically occupies the first 256-bytes (768 for rd+) of external data memory. with extram = 0, the extram is indirectly addressed, using the movx instruction in combination with any of the registers r0, r1 of the selected bank or dptr. an access to extram will not affect ports p0, p3.6 (wr#) and p3.7 (rd#). p2 sfr is output during external addressing. for example, with extram = 0, movx @r0,#data where r0 contains 0a0h, access the extram at address 0a0h rather than external memory. an access to external data memory locations higher than ffh (2ff for rd+) (i.e., 0100h to ffffh) will be performed with the movx dptr instructions in the same way as in the standard 80c51, so with p0 and p2 as data/address bus, and p3.6 and p3.7 as write and read timing signals. refer to figure 28. with extram = 1, movx @ri and movx @dptr will be similar to the standard 80c51. movx @ ri will provide an 8-bit address multiplexed with data on port 0 and any output port pins can be used to output higher order address bits. this is to provide the external paging capability. movx @dptr will generate a 16-bit address. port 2 outputs the high-order eight address bits (the contents of dph) while port 0 multiplexes the low-order eight address bits (dpl) with data. movx @ri and movx @dptr will generate either read or write signals on p3.6 (#wr) and p3.7 (#rd). the stack pointer (sp) may be located anywhere in the 256 bytes ram (lower and upper ram) internal data memory. the stack may not be located in the extram. auxr reset value = xxxx xx00b e eeeee extram ao not bit addressable bit: symbol function ao disable/enable ale ao operating mode 0 ale is emitted at a constant rate of 1/6 the oscillator frequency. 1 ale is active only during a movx or movc instruction. extram internal/external ram access using movx @ri/@dptr extram operating mode 0 internal eram (00hffh) (00h2ffh for rd+) access using movx @ri/@dptr 1 external data memory access. e not implemented, reserved for future use*. note: *user software should not write 1s to reserved bits. these bits may be used in future 8051 family products to invoke new featur es. in that case, the reset or inactive value of the new bit will be 0, and its active value will be 1. the value read from a reserved bit is indeterminate. su01003 76543210 address = 8eh figure 27. auxr: auxiliary register (rx+ only)
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 34 (8xc51rx+ only) eram 256 bytes upper 128 bytes internal ram lower 128 bytes internal ram special function register 2ff (rd to rd+) ff 00 ff 00 ff 00 80 80 external data memory ffff 0000 0100 300 (rd+ only) su00834 figure 28. internal and external data memory address space with extram = 0 hardware watchdog timer (one-time enabled with reset-out for 89c51rc+/rd+) the wdt is intended as a recovery method in situations where the cpu may be subjected to software upset. the wdt consists of a 14-bit counter and the watchdog timer reset (wdtrst) sfr. the wdt is disabled at reset. to enable the wdt, user must write 01eh and 0e1h in sequence to the wdtrst, sfr location 0a6h. when wdt is enabled, it will increment every machine cycle while the oscillator is running and there is no way to disable the wdt except through reset (either hardware reset or wdt overflow reset). when wdt overflows, it will drive an output reset high pulse at the rst-pin. using the wdt to enable the wdt, user must write 01eh and 0e1h in sequence to the wdtrst, sfr location 0a6h. when wdt is enabled, the user needs to service it by writing to 01eh and 0e1h to wdtrst to avoid wdt overflow. the 14-bit counter overflows when it reaches 16383 (3fffh) and this will reset the device. when using the wdt, a 1kohm resistor must be inserted between rst of the device and the power on reset circuitry. when wdt is enabled, it will increment every machine cycle while the oscillator is running. this means the user must reset the wdt at least every 16383 machine cycles. to reset the wdt, the user must write 01eh and 0e1h to wdtrst. wdtrst is a write only register. the wdt counter cannot be read or written. when wdt overflows, it will generate an output reset pulse at the reset pin. the reset pulse duration is 98 t osc , where t osc = 1/f osc . to make the best use of the wdt, it should be serviced in those sections of code that will periodically be executed within the time required to prevent a wdt reset. in applications using the hardware watchdog timer of the p8xc51rd+, a series resistor (1k 20%) needs to be included between the reset pin and any external components. without this resistor the watchdog timer will not function.
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 35 absolute maximum ratings 1, 2, 3 parameter rating unit operating temperature under bias 0 to +70 or 40 to +85 c storage temperature range 65 to +150 c voltage on ea /v pp pin to v ss 0 to +13.0 v voltage on any other pin to v ss 0.5 to +6.5 v maximum i ol per i/o pin 15 ma power dissipation (based on package heat transfer limitations, not device power consumption) 1.5 w notes: 1. stresses above those listed under absolute maximum ratings may cause permanent damage to the device. this is a stress rating only and functional operation of the device at these or any conditions other than those described in the ac and dc electrical characteri stics section of this specification is not implied. 2. this product includes circuitry specifically designed for the protection of its internal devices from the damaging effects of excessive static charge. nonetheless, it is suggested that conventional precautions be taken to avoid applying greater than the rated maximum. 3. parameters are valid over operating temperature range unless otherwise specified. all voltages are with respect to v ss unless otherwise noted. ac electrical characteristics t amb = 0 c to +70 c or 40 c to +85 c clock frequency range f symbol figure parameter min max unit 1/t clcl 33 oscillator frequency speed versions : 4:5:s (16mhz) i:j:u (33mhz) 0 0 16 33 mhz mhz
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 36 dc electrical characteristics t amb = 0 c to +70 c or 40 c to +85 c, v cc = 2.7v to 5.5v, v ss = 0v (16mhz devices) symbol parameter test limits unit symbol parameter conditions min typ 1 max unit v in p ut low voltage 4.0v < v cc < 5.5v 0.5 0.2v cc 0.1 v v il inp u t lo w v oltage 2.7v 100pf), the noise pulse on the ale pin may exceed 0.8v. in such cases, it may be desirable to qualify ale with a schmitt trigger, or use an address latch with a schmitt trigger strobe input. i ol can exceed these conditions provided that no single output sinks more than 5ma and no more than two outputs exceed the test conditions. 3. capacitive loading on ports 0 and 2 may cause the v oh on ale and psen to momentarily fall below the v cc 0.7 specification when the address bits are stabilizing. 4. pins of ports 1, 2 and 3 source a transition current when they are being externally driven from 1 to 0. the transition curren t reaches its maximum value when v in is approximately 2v. 5. see figures 37 through 40 for i cc test conditions, and figure 36 for i cc vs freq. active mode: i cc = (0.9 freq. + 1.1)ma for all devices except 8xc51rd+; 8xc51rd+ i cc = (0.9 x freq +2.1) ma idle mode: i cc = (0.18 freq. +1.01)ma 6. this value applies to t amb = 0 c to +70 c. for t amb = 40 c to +85 c, i tl = 750 m a. 7. load capacitance for port 0, ale, and psen = 100pf, load capacitance for all other outputs = 80pf. 8. under steady state (non-transient) conditions, i ol must be externally limited as follows: maximum i ol per port pin: 15ma (*note: this is 85 c specification.) maximum i ol per 8-bit port: 26ma maximum total i ol for all outputs: 71ma if i ol exceeds the test condition, v ol may exceed the related specification. pins are not guaranteed to sink current greater than the listed test conditions. 9. ale is tested to v oh1 , except when ale is off then v oh is the voltage specification. 10. pin capacitance is characterized but not tested. pin capacitance is less than 25pf. pin capacitance of ceramic package is l ess than 15pf (except ea is 25pf).
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 37 dc electrical characteristics t amb = 0 c to +70 c or 40 c to +85 c, 33mhz devices; 5v 10%; v ss = 0v symbol parameter test limits unit symbol parameter conditions min typ 1 max unit v il input low voltage 4.5v < v cc < 5.5v 0.5 0.2v cc 0.1 v v ih input high voltage (ports 0, 1, 2, 3, ea ) 0.2v cc +0.9 v cc +0.5 v v ih1 input high voltage, xtal1, rst 0.7v cc v cc +0.5 v v ol output low voltage, ports 1, 2, 3 8 v cc = 4.5v i ol = 1.6ma 2 0.4 v v ol1 output low voltage, port 0, ale, psen 7, 8 v cc = 4.5v i ol = 3.2ma 2 0.4 v v oh output high voltage, ports 1, 2, 3 3 v cc = 4.5v i oh = 30 m a v cc 0.7 v v oh1 output high voltage (port 0 in external bus mode), ale 9 , psen 3 v cc = 4.5v i oh = 3.2ma v cc 0.7 v i il logical 0 input current, ports 1, 2, 3 v in = 0.4v 1 50 m a i tl logical 1-to-0 transition current, ports 1, 2, 3 6 v in = 2.0v see note 4 650 m a i li input leakage current, port 0 0.45 < v in < v cc 0.3 10 m a i cc power supply current (see figure 36): see note 5 active mode (see note 5) idle mode (see note 5) power-down mode or clock stopped ( fi 40 f diti ) t amb = 0 c to 70 c 3 50 m a (see figure 40 for conditions) t amb = 40 c to +85 c 75 m a r rst internal reset pull-down resistor 40 225 k w c io pin capacitance 10 (except ea ) 15 pf notes: 1. typical ratings are not guaranteed. the values listed are at room temperature, 5v. 2. capacitive loading on ports 0 and 2 may cause spurious noise to be superimposed on the v ol s of ale and ports 1 and 3. the noise is due to external bus capacitance discharging into the port 0 and port 2 pins when these pins make 1-to-0 transitions during bus oper ations. in the worst cases (capacitive loading > 100pf), the noise pulse on the ale pin may exceed 0.8v. in such cases, it may be desirable to qualify ale with a schmitt trigger, or use an address latch with a schmitt trigger strobe input. i ol can exceed these conditions provided that no single output sinks more than 5ma and no more than two outputs exceed the test conditions. 3. capacitive loading on ports 0 and 2 may cause the v oh on ale and psen to momentarily fall below the v cc 0.7 specification when the address bits are stabilizing. 4. pins of ports 1, 2 and 3 source a transition current when they are being externally driven from 1 to 0. the transition curren t reaches its maximum value when v in is approximately 2v. 5. see figures 37 through 40 for i cc test conditions and figure 36 for i cc vs freq. active mode: i cc(max) = (0.9 freq. + 1.1)ma. for all devices except 8xc51rd+; 8xc51rd+ i cc = (0.9 x freq +2.1) ma idle mode: i cc(max) = (0.18 freq. +1.0)ma 6. this value applies to t amb = 0 c to +70 c. for t amb = 40 c to +85 c, i tl = 750 m a. 7. load capacitance for port 0, ale, and psen = 100pf, load capacitance for all other outputs = 80pf. 8. under steady state (non-transient) conditions, i ol must be externally limited as follows: maximum i ol per port pin: 15ma (*note: this is 85 c specification.) maximum i ol per 8-bit port: 26ma maximum total i ol for all outputs: 71ma if i ol exceeds the test condition, v ol may exceed the related specification. pins are not guaranteed to sink current greater than the listed test conditions. 9. ale is tested to v oh1 , except when ale is off then v oh is the voltage specification. 10. pin capacitance is characterized but not tested. pin capacitance is less than 25pf. pin capacitance of ceramic package is l ess than 15pf (except ea is 25pf).
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 38 ac electrical characteristics t amb = 0 c to +70 c or 40 c to +85 c, v cc = +2.7v to +5.5v, v ss = 0v 1, 2, 3 16mhz clock variable clock symbol figure parameter min max min max unit 1/t clcl 29 oscillator frequency 5 speed versions : 4; 5;s 3.5 16 mhz t lhll 29 ale pulse width 85 2t clcl 40 ns t avll 29 address valid to ale low 22 t clcl 40 ns t llax 29 address hold after ale low 32 t clcl 30 ns t lliv 29 ale low to valid instruction in 150 4t clcl 100 ns t llpl 29 ale low to psen low 32 t clcl 30 ns t plph 29 psen pulse width 142 3t clcl 45 ns t pliv 29 psen low to valid instruction in 82 3t clcl 105 ns t pxix 29 input instruction hold after psen 0 0 ns t pxiz 29 input instruction float after psen 37 t clcl 25 ns t aviv 5 29 address to valid instruction in 207 5t clcl 105 ns t plaz 29 psen low to address float 10 10 ns data memory t rlrh 30, 31 rd pulse width 275 6t clcl 100 ns t wlwh 30, 31 wr pulse width 275 6t clcl 100 ns t rldv 30, 31 rd low to valid data in 147 5t clcl 165 ns t rhdx 30, 31 data hold after rd 0 0 ns t rhdz 30, 31 data float after rd 65 2t clcl 60 ns t lldv 30, 31 ale low to valid data in 350 8t clcl 150 ns t avdv 30, 31 address to valid data in 397 9t clcl 165 ns t llwl 30, 31 ale low to rd or wr low 137 239 3t clcl 50 3t clcl +50 ns t avwl 30, 31 address valid to wr low or rd low 122 4t clcl 130 ns t qvwx 30, 31 data valid to wr transition 13 t clcl 50 ns t whqx 30, 31 data hold after wr 13 t clcl 50 ns t qvwh 31 data valid to wr high 287 7t clcl 150 ns t rlaz 30, 31 rd low to address float 0 0 ns t whlh 30, 31 rd or wr high to ale high 23 103 t clcl 40 t clcl +40 ns external clock t chcx 33 high time 20 20 t clcl t clcx ns t clcx 33 low time 20 20 t clcl t chcx ns t clch 33 rise time 20 20 ns t chcl 33 fall time 20 20 ns shift register t xlxl 32 serial port clock cycle time 750 12t clcl ns t qvxh 32 output data setup to clock rising edge 492 10t clcl 133 ns t xhqx 32 output data hold after clock rising edge 8 2t clcl 117 ns t xhdx 32 input data hold after clock rising edge 0 0 ns t xhdv 32 clock rising edge to input data valid 492 10t clcl 133 ns notes: 1. parameters are valid over operating temperature range unless otherwise specified. 2. load capacitance for port 0, ale, and psen = 100pf, load capacitance for all other outputs = 80pf. 3. interfacing the microcontroller to devices with float times up to 45ns is permitted. this limited bus contention will not cau se damage to port 0 drivers. 4. see application note an457 for external memory interface. 5. parts are guaranteed to operate down to 0hz.
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 39 ac electrical characteristics t amb = 0 c to +70 c or 40 c to +85 c, v cc = 5v 10%, v ss = 0v 1, 2, 3 variable clock 4 33mhz clock symbol figure parameter min max min max unit t lhll 29 ale pulse width 2t clcl 40 21 ns t avll 29 address valid to ale low t clcl 25 5 ns t llax 29 address hold after ale low t clcl 25 ns t lliv 29 ale low to valid instruction in 4t clcl 65 55 ns t llpl 29 ale low to psen low t clcl 25 5 ns t plph 29 psen pulse width 3t clcl 45 45 ns t pliv 29 psen low to valid instruction in 3t clcl 60 30 ns t pxix 29 input instruction hold after psen 0 0 ns t pxiz 29 input instruction float after psen t clcl 25 5 ns t aviv 29 address to valid instruction in 5t clcl 80 70 ns t plaz 29 psen low to address float 10 10 ns data memory t rlrh 30, 31 rd pulse width 6t clcl 100 82 ns t wlwh 30, 31 wr pulse width 6t clcl 100 82 ns t rldv 30, 31 rd low to valid data in 5t clcl 90 60 ns t rhdx 30, 31 data hold after rd 0 0 ns t rhdz 30, 31 data float after rd 2t clcl 28 32 ns t lldv 30, 31 ale low to valid data in 8t clcl 150 90 ns t avdv 30, 31 address to valid data in 9t clcl 165 105 ns t llwl 30, 31 ale low to rd or wr low 3t clcl 50 3t clcl +50 40 140 ns t avwl 30, 31 address valid to wr low or rd low 4t clcl 75 45 ns t qvwx 30, 31 data valid to wr transition t clcl 30 0 ns t whqx 30, 31 data hold after wr t clcl 25 5 ns t qvwh 31 data valid to wr high 7t clcl 130 80 ns t rlaz 30, 31 rd low to address float 0 0 ns t whlh 30, 31 rd or wr high to ale high t clcl 25 t clcl +25 5 55 ns external clock t chcx 33 high time 0.38t clcl t clcl t clcx ns t clcx 33 low time 0.38t clcl t clcl t chcx ns t clch 33 rise time 5 ns t chcl 33 fall time 5 ns shift register t xlxl 32 serial port clock cycle time 12t clcl 360 ns t qvxh 32 output data setup to clock rising edge 10t clcl 133 167 ns t xhqx 32 output data hold after clock rising edge 2t clcl 80 ns t xhdx 32 input data hold after clock rising edge 0 0 ns t xhdv 32 clock rising edge to input data valid 10t clcl 133 167 ns notes: 1. parameters are valid over operating temperature range unless otherwise specified. 2. load capacitance for port 0, ale, and psen = 100pf, load capacitance for all other outputs = 80pf. 3. interfacing the microcontroller to devices with float times up to 45ns is permitted. this limited bus contention will not cau se damage to port 0 drivers. 4. for frequencies equal or less than 16mhz, see 16mhz aac electrical characteristicso, page 38. 5. parts are guaranteed to operate down to 0hz.
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 40 explanation of the ac symbols each timing symbol has five characters. the first character is always `t' (= time). the other characters, depending on their positions, indicate the name of a signal or the logical status of that signal. the designations are: a address c clock d input data h logic level high i instruction (program memory contents) l logic level low, or ale p psen q output data r rd signal t time v valid w wr signal x no longer a valid logic level z float examples: t avll = time for address valid to ale low. t llpl =time for ale low to psen low. t pxiz ale psen port 0 port 2 a0a15 a8a15 a0a7 a0a7 t avll t pxix t llax instr in t lhll t plph t lliv t plaz t llpl t aviv su00006 t pliv figure 29. external program memory read cycle ale psen port 0 port 2 rd a0a7 from ri or dpl data in a0a7 from pcl instr in p2.0p2.7 or a8a15 from dpf a0a15 from pch t whlh t lldv t llwl t rlrh t llax t rlaz t avll t rhdx t rhdz t avwl t avdv t rldv su00025 figure 30. external data memory read cycle
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 41 t llax ale psen port 0 port 2 wr a0a7 from ri or dpl data out a0a7 from pcl instr in p2.0p2.7 or a8a15 from dpf a0a15 from pch t whlh t llwl t wlwh t avll t avwl t qvwx t whqx t qvwh su00026 figure 31. external data memory write cycle 012345678 instruction ale clock output data write to sbuf input data clear ri valid valid valid valid valid valid valid valid set ti set ri t xlxl t qvxh t xhqx t xhdx t xhdv su00027 123 0 4567 figure 32. shift register mode timing v cc 0.5 0.45v 0.7v cc 0.2v cc 0.1 t chcl t clcl t clch t clcx t chcx su00009 figure 33. external clock drive
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 42 v cc 0.5 0.45v 0.2v cc +0.9 0.2v cc 0.1 note: ac inputs during testing are driven at v cc 0.5 for a logic `1' and 0.45v for a logic `0'. timing measurements are made at v ih min for a logic `1' and v il max for a logic `0'. su00717 figure 34. ac testing input/output v load v load +0.1v v load 0.1v v oh 0.1v v ol +0.1v note: timing reference points for timing purposes, a port is no longer floating when a 100mv change from load voltage occurs, and begins to float when a 100mv change from the loaded v oh /v ol level occurs. i oh /i ol 20ma. su00718 figure 35. float waveform su00837a typ active mode max idle mode typ idle mode max active mode (except 8xc51rd+) i cc max = 0.9 x freq. + 1.1 5 481216 freq at xtal1 (mhz) 20 24 28 32 36 15 25 30 i cc (ma) 10 20 35 i ccmax active mode (8xc51rd+) i ccmax = 0.9 x freq + 2.1 figure 36. i cc vs. freq valid only within frequency specifications of the device under test
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 43 v cc p0 ea rst xtal1 xtal2 v ss v cc v cc v cc i cc (nc) clock signal su00719 figure 37. i cc test condition, active mode all other pins are disconnected v cc p0 ea rst xtal1 xtal2 v ss v cc v cc i cc (nc) clock signal su00720 figure 38. i cc test condition, idle mode all other pins are disconnected v cc 0.5 0.45v 0.7v cc 0.2v cc 0.1 t chcl t clcl t clch t clcx t chcx su00009 figure 39. clock signal waveform for i cc tests in active and idle modes t clch = t chcl = 5ns v cc p0 ea rst xtal1 xtal2 v ss v cc v cc i cc (nc) su00016 figure 40. i cc test condition, power down mode all other pins are disconnected. v cc = 2v to 5.5v
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 44 eprom characteristics all these devices can be programmed by using a modified improved quick-pulse programming ? algorithm. it differs from older methods in the value used for v pp (programming supply voltage) and in the width and number of the ale/prog pulses. the family contains two signature bytes that can be read and used by an eprom programming system to identify the device. the signature bytes identify the device as being manufactured by philips. table 9 shows the logic levels for reading the signature byte, and for programming the program memory, the encryption table, and the security bits. the circuit configuration and waveforms for quick-pulse programming are shown in figures 41 and 42. figure 43 shows the circuit configuration for normal program memory verification. quick-pulse programming the setup for microcontroller quick-pulse programming is shown in figure 41. note that the device is running with a 4 to 6mhz oscillator. the reason the oscillator needs to be running is that the device is executing internal address and program data transfers. the address of the eprom location to be programmed is applied to ports 1 and 2, as shown in figure 41. the code byte to be programmed into that location is applied to port 0. rst, psen and pins of ports 2 and 3 specified in table 9 are held at the `program code data' levels indicated in table 9. the ale/prog is pulsed low 5 times as shown in figure 42. to program the encryption table, repeat the 5 pulse programming sequence for addresses 0 through 1fh, using the `pgm encryption table' levels. do not forget that after the encryption table is programmed, verification cycles will produce only encrypted data. to program the security bits, repeat the 5 pulse programming sequence using the `pgm security bit' levels. after one security bit is programmed, further programming of the code memory and encryption table is disabled. however, the other security bits can still be programmed. note that the ea /v pp pin must not be allowed to go above the maximum specified v pp level for any amount of time. even a narrow glitch above that voltage can cause permanent damage to the device. the v pp source should be well regulated and free of glitches and overshoot. program verification if security bits 2 and 3 have not been programmed, the on-chip program memory can be read out for program verification. the address of the program memory locations to be read is applied to ports 1 and 2 as shown in figure 43. the other pins are held at the `verify code data' levels indicated in table 9. the contents of the address location will be emitted on port 0. external pull-ups are required on port 0 for this operation. if the 64 byte encryption table has been programmed, the data presented at port 0 will be the exclusive nor of the program byte with one of the encryption bytes. the user will have to know the encryption table contents in order to correctly decode the verification data. the encryption table itself cannot be read out. reading the signature bytes the signature bytes are read by the same procedure as a normal verification of locations 030h and 031h, except that p3.6 and p3.7 need to be pulled to a logic low. the values are: (030h) = 15h indicates manufactured by philips (031h) = bbh indicates 87c54 bdh indicates 87c58 b1h indicates 87c51fa b2h indicates 87c51fb b3h indicates 87c51fc cah indicates 87c51ra+ cbh indicates 87c51rb+ cch indicates 87c51rc+ cdh indicates 87c51rd+ (060h) = na program/verify algorithms any algorithm in agreement with the conditions listed in table 9, and which satisfies the timing specifications, is suitable. security bits with none of the security bits programmed the code in the program memory can be verified. if the encryption table is programmed, the code will be encrypted when verified. when only security bit 1 (see table 10) is programmed, movc instructions executed from external program memory are disabled from fetching code bytes from the internal memory, ea is latched on reset and all further programming of the eprom is disabled. when security bits 1 and 2 are programmed, in addition to the above, verify mode is disabled. when all three security bits are programmed, all of the conditions above apply and all external program memory execution is disabled. encryption array 64 bytes of encryption array are initially unprogrammed (all 1s). ? trademark phrase of intel corporation.
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 45 table 9. eprom programming modes mode rst psen ale/prog ea /v pp p2.7 p2.6 p3.7 p3.6 read signature 1 0 1 1 0 0 0 0 program code data 1 0 0* v pp 1 0 1 1 verify code data 1 0 1 1 0 0 1 1 pgm encryption table 1 0 0* v pp 1 0 1 0 pgm security bit 1 1 0 0* v pp 1 1 1 1 pgm security bit 2 1 0 0* v pp 1 1 0 0 pgm security bit 3 1 0 0* v pp 0 1 0 1 notes: 1. `0' = valid low for that pin, `1' = valid high for that pin. 2. v pp = 12.75v 0.25v. 3. v cc = 5v 10% during programming and verification. * ale/prog receives 5 programming pulses for code data (also for user array; 5 pulses for encryption or security bits) while v pp is held at 12.75v. each programming pulse is low for 100 m s ( 10 m s) and high for a minimum of 10 m s. table 10. program security bits for eprom devices program lock bits 1, 2 sb1 sb2 sb3 protection description 1 u u u no program security features enabled. (code verify will still be encrypted by the encryption array if programmed.) 2 p u u movc instructions executed from external program memory are disabled from fetching code bytes from internal memory, ea is sampled and latched on reset, and further programming of the eprom is disabled. 3 p p u same as 2, also verify is disabled. 4 p p p same as 3, external execution is disabled. notes: 1. p programmed. u unprogrammed. 2. any other combination of the security bits is not defined.
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 46 a0a7 1 1 1 46mhz +5v pgm data +12.75v 5 pulses to ground 0 1 0 a8a13 p1 rst p3.6 p3.7 xtal2 xtal1 v ss v cc p0 ea /v pp ale/prog psen p2.7 p2.6 p2.0p2.5 otp a14 p3.4 su00838a p3.5 a8a15 are programming addresses (not external memory addresses per device pin out) a15 (rd+ only) figure 41. programming configuration ale/prog: ale/prog: 1 0 1 0 5 pulses t glgh = 100 m s 10 m s t ghgl = 10 m s min su00875 1234 5 see exploded view below 1 figure 42. prog waveform a0a7 1 1 1 +5v pgm data 1 1 0 0 enable 0 a8a13 p1 rst p3.6 p3.7 xtal2 xtal1 v ss v cc p0 ea /v pp ale/prog psen p2.7 p2.6 p2.0p2.5 otp a14 p3.4 su00870 46mhz a8a15 are programming addresses (not external memory addresses per device pin out) p3.5 a15 (rd+ only) figure 43. program verification
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 47 eprom programming and verification characteristics t amb = 21 c to +27 c, v cc = 5v 10%, v ss = 0v (see figure 44) symbol parameter min max unit v pp programming supply voltage 12.5 13.0 v i pp programming supply current 50 1 ma 1/t clcl oscillator frequency 4 6 mhz t avgl address setup to prog low 48t clcl t ghax address hold after prog 48t clcl t dvgl data setup to prog low 48t clcl t ghdx data hold after prog 48t clcl t ehsh p2.7 (enable ) high to v pp 48t clcl t shgl v pp setup to prog low 10 m s t ghsl v pp hold after prog 10 m s t glgh prog width 90 110 m s t avqv address to data valid 48t clcl t elqz enable low to data valid 48t clcl t ehqz data float after enable 0 48t clcl t ghgl prog high to prog low 10 m s note: 1. not tested. programming * verification * address address data in data out logic 1 logic 1 logic 0 t avqv t ehqz t elqv t shgl t ghsl t glgh t ghgl t avgl t ghax t dvgl t ghdx p1.0p1.7 p2.0p2.5 p3.4 (a0 a14) port 0 p0.0 p0.7 (d0 d7) ale/prog ea /v pp p2.7 ** su00871 t ehsh notes: * for programming configuration see figure 41. for verification conditions see figure 43. ** see table 9. figure 44. eprom programming and verification
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 48 mask rom devices security bits with none of the security bits programmed the code in the program memory can be verified. if the encryption table is programmed, the code will be encrypted when verified. when only security bit 1 (see table 11) is programmed, movc instructions executed from external program memory are disabled from fetching code bytes from the internal memory, ea is latched on reset and all further programming of the eprom is disabled. when security bits 1 and 2 are programmed, in addition to the above, verify mode is disabled. encryption array 64 bytes of encryption array are initially unprogrammed (all 1s). table 11. program security bits program lock bits 1, 2 sb1 sb2 protection description 1 u u no program security features enabled. (code verify will still be encrypted by the encryption array if programmed.) 2 p u movc instructions executed from external program memory are disabled from fetching code bytes from internal memory, ea is sampled and latched on reset, and further programming of the eprom is disabled. notes: 1. p programmed. u unprogrammed. 2. any other combination of the security bits is not defined. rom code submission for 8k rom devices (83c51fa, and 83c51ra+) when submitting rom code for the 8k rom devices, the following must be specified: 1. 8k byte user rom data 2. 64 byte rom encryption key 3. rom security bits. address content bit(s) comment 0000h to 1fffh data 7:0 user rom data 2000h to 203fh key 7:0 rom encryption key ffh = no encryption 2040h sec 0 rom security bit 1 0 = enable security 1 = disable security 2040h sec 1 rom security bit 2 0 = enable security 1 = disable security security bit 1: when programmed, this bit has two effects on masked rom parts: 1. external movc is disabled, and 2. ea is latched on reset. security bit 2: when programmed, this bit inhibits verify user rom. note: security bit 2 cannot be enabled unless security bit 1 is enabled. if the rom code file does not include the options, the following information must be included with the rom code. for each of the following, check the appropriate box, and send to philips along with the code: security bit #1: enabled disabled security bit #2: enabled disabled encryption: no yes if yes, must send key file.
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 49 rom code submission for 16k rom devices (80c54, 83c51fb and 83c51rb+) when submitting rom code for the 16k rom devices, the following must be specified: 1. 16k byte user rom data 2. 64 byte rom encryption key 3. rom security bits. address content bit(s) comment 0000h to 3fffh data 7:0 user rom data 4000h to 403fh key 7:0 rom encryption key ffh = no encryption 4040h sec 0 rom security bit 1 0 = enable security 1 = disable security 4040h sec 1 rom security bit 2 0 = enable security 1 = disable security security bit 1: when programmed, this bit has two effects on masked rom parts: 1. external movc is disabled, and 2. ea is latched on reset. security bit 2: when programmed, this bit inhibits verify user rom. note: security bit 2 cannot be enabled unless security bit 1 is enabled. if the rom code file does not include the options, the following information must be included with the rom code. for each of the following, check the appropriate box, and send to philips along with the code: security bit #1: enabled disabled security bit #2: enabled disabled encryption: no yes if yes, must send key file.
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 50 rom code submission for 32k rom devices (80c58, 83c51fc, and 83c51rc+) when submitting rom code for the 32k rom devices, the following must be specified: 1. 32k byte user rom data 2. 64 byte rom encryption key 3. rom security bits. address content bit(s) comment 0000h to 7fffh data 7:0 user rom data 8000h to 803fh key 7:0 rom encryption key ffh = no encryption 8040h sec 0 rom security bit 1 0 = enable security 1 = disable security 8040h sec 1 rom security bit 2 0 = enable security 1 = disable security security bit 1: when programmed, this bit has two effects on masked rom parts: 1. external movc is disabled, and 2. ea is latched on reset. security bit 2: when programmed, this bit inhibits verify user rom. note: security bit 2 cannot be enabled unless security bit 1 is enabled. if the rom code file does not include the options, the following information must be included with the rom code. for each of the following, check the appropriate box, and send to philips along with the code: security bit #1: enabled disabled security bit #2: enabled disabled encryption: no yes if yes, must send key file.
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 51 rom code submission for 64k rom device (83c51rd+) when submitting rom code for the 64k rom devices, the following must be specified: 1. 64k byte user rom data 2. 64 byte rom encryption key 3. rom security bits. address content bit(s) comment 0000h to ffffh data 7:0 user rom data 10000h to 1003fh key 7:0 rom encryption key ffh = no encryption 10040h sec 0 rom security bit 1 0 = enable security 1 = disable security 10040h sec 1 rom security bit 2 0 = enable security 1 = disable security security bit 1: when programmed, this bit has two effects on masked rom parts: 1. external movc is disabled, and 2. ea is latched on reset. security bit 2: when programmed, this bit inhibits verify user rom. note: security bit 2 cannot be enabled unless security bit 1 is enabled. if the rom code file does not include the options, the following information must be included with the rom code. for each of the following, check the appropriate box, and send to philips along with the code: security bit #1: enabled disabled security bit #2: enabled disabled encryption: no yes if yes, must send
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 52 qfp44: plastic quad flat package; 44 leads (lead length 1.3 mm); body 10 x 10 x 1.75 mm sot307-2
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 53 plcc44: plastic leaded chip carrier; 44 leads sot187-2
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 54 dip40: plastic dual in-line package; 40 leads (600 mil) sot129-1
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 55 notes
philips semiconductors product specification 8xc54/58 8xc51fa/fb/fc/80c51fa 8xc51ra+/rb+/rc+/rd+/80c51ra+ 80c51 8-bit microcontroller family 8k64k/2561k otp/rom/romless, low voltage (2.7v5.5v), low power, high speed (33mhz) 2000 aug 07 56 definitions short-form specification e the data in a short-form specification is extracted from a full data sheet with the same type number and title. for detailed information see the relevant data sheet or data handbook. limiting values definition e limiting values given are in accordance with the absolute maximum rating system (iec 134). stress above one or more of the limiting values may cause permanent damage to the device. these are stress ratings only and operation of the dev ice at these or at any other conditions above those given in the characteristics sections of the specification is not implied. exposure to limi ting values for extended periods may affect device reliability. application information e applications that are described herein for any of these products are for illustrative purposes only. philips semiconductors make no representation or warranty that such applications will be suitable for the specified use without further testing or modification. disclaimers life support e these products are not designed for use in life support appliances, devices or systems where malfunction of these products can reasonably be expected to result in personal injury. philips semiconductors customers using or selling these products for use i n such applications do so at their own risk and agree to fully indemnify philips semiconductors for any damages resulting from such application. right to make changes e philips semiconductors reserves the right to make changes, without notice, in the products, including circuits, standard cells, and/or software, described or contained herein in order to improve design and/or performance. philips semiconductors ass umes no responsibility or liability for the use of any of these products, conveys no license or title under any patent, copyright, or m ask work right to these products, and makes no representations or warranties that these products are free from patent, copyright, or mask work right in fringement, unless otherwise specified. philips semiconductors 811 east arques avenue p.o. box 3409 sunnyvale, california 940883409 telephone 800-234-7381 ? copyright philips electronics north america corporation 2000 all rights reserved. printed in u.s.a. date of release: 08-00 document order number: 9397 750 07405  

data sheet status objective specification preliminary specification product specification product status development qualification production definition [1] this data sheet contains the design target or goal specifications for product development. specification may change in any manner without notice. this data sheet contains preliminary data, and supplementary data will be published at a later date. philips semiconductors reserves the right to make changes at any time without notice in order to improve design and supply the best possible product. this data sheet contains final specifications. philips semiconductors reserves the right to make changes at any time without notice in order to improve design and supply the best possible product. data sheet status [1] please consult the most recently issued datasheet before initiating or completing a design.


▲Up To Search▲   

 
Price & Availability of P80C51

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X